HomePhorge

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

Provenance
vranaAuthored on Jun 14 2012, 1:43 PM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rP357305507c2e: Fix nginx configuration guide
Branches
Unknown
Tags
Unknown

Event Timeline