I want to localize Phabricator in Chinese. PhutilCNChineseLocale.php and PhabricatorCNChineseTranslation.php are created and translations are provided. Project Icon Names such as Tag, Group are not translated even if corresponding translations are provided in PhabricatorCNChineseTranslation.php. This is an unexpected behavior. Phabricator uses pht function to translate its UI and Icon Names should be translated.
Related discussion here https://discourse.phabricator-community.org/t/phabricator-project-icon-names-are-not-translated/290
I have to pass non-constant php variable to pht function in this diff.