← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] how to translate the new version of DHIS2?

 

I just add this in findProjects(ModuleNode node, File path)  in ResourceManager, can get all module's properties file.


             else if (files[i].getName().equals("manifest.webapp")) {
                ModuleNode newNode = new ModuleNode();
                newNode.setPath(files[i].getParentFile());
                newNode.setName(getProjectname(files[i]));
                node.addModule(newNode);
                log.outInfo(("Found module at: " + newNode.getPath()));
            }





--

此致

   easy
莫愁前路无知己,天下谁人不识君。

在 2015-02-02 22:05:23,"easy" <lin_xd@xxxxxxx> 写道:

Thanks. do a central in translate.dhis2.org.





--

此致

   easy

莫愁前路无知己,天下谁人不识君。



At 2015-02-02 22:04:11, "Jason Pickering" <jason.p.pickering@xxxxxxxxx> wrote:
>Hi Easy,
>Yes, the i18n tool will not work for this.
>
>If you want, I can setup the system to translate to Chinese here
>(translate.dhis2.org), which we manage centrally to coordinate the
>translation process.
>
>Otherwise, you can look for the i18n folder in each app, and translate
>the corresponding properties files there, with something like Eclipse
>or another IDE, to "i18n_app_zh.properties". There may be some other
>things which need to be done, but the JavaScript/app developers may
>need to comment there.
>
>Best regards,
>Jason
>
>
>On Mon, Feb 2, 2015 at 2:44 PM, easy <lin_xd@xxxxxxx> wrote:
>> hi,all
>>   The new app all in dhis-web-apps,but the translating tool can't translate
>> it ? how or when will update the tool?
>>
>>
>>
>>
>> --
>> 此致
>>
>>    easy
>>
>> 莫愁前路无知己,天下谁人不识君。
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
>-- 
>Jason P. Pickering
>email: jason.p.pickering@xxxxxxxxx
>tel:+46764147049




Follow ups