Homec4science
Authored by vrana <jakubv@fb.com> on Jun 14 2012, 22:43.

Description

Use pht()

Summary:
This is the first step in Phabricator internationalization.
It adds a translation selector and calls it at startup.
Installations can add custom selectors to override some texts.
We can add official translations in future.

Next step is to allow user to choose his translation which will override the global one.

This is currently used only for English plurals.

Test Plan: Displayed a diff with unit test error, verified that it says 'Detail' or 'Details' and not 'Detail(s)'.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1139

Differential Revision: https://secure.phabricator.com/D2753

Details

Committed
vrana <jakubv@fb.com>Jun 15 2012, 01:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPH357305507c2e: Fix nginx configuration guide
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPH0acb7734cdbd: Use pht() (authored by vrana <jakubv@fb.com>).Jun 15 2012, 01:25