Using language translations

Asked by jsherk on 2010-12-20

I am seeing files like:
gettext.lang.php
menu.lang.php
plugin.lang.php
someName.pot

But am not seeing any examples on how to actually use any of these files to setup different translations. I am not sure what each file is used for or how it is to be used.

Does the double-underscore __() function have something to do with this? I see that quite often in the phpds code.

I would like to incorporate this feature into my project before I get to far along, so would nice to know how to use it.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Last query:
2010-12-20
Last reply:
2010-12-20
Greg (gregfr) said : #1

Jason wrote a documentation about this:
http://wiki.phpdevshell.org/wiki/Language_Localization_Translation

HOWEVER the best way would be to use Launchpad's own translation system (https://translations.launchpad.net/phpdevshell), it has many advantages over doing it on your own. Then let Jason include your translation in the distribution.

Can you help with this problem?

Provide an answer of your own, or ask jsherk for more information if necessary.

To post a message you must log in.