Support/UIl10n: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(category -> Support Archive)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
# Download the file http://svn.mozilla.org/projects/sumo/trunk/language_files/%LOCALE%/language.php (replace %LOCALE% with your locale string) and open it in a text editor of your choice
# Download the file http://svn.mozilla.org/projects/sumo/trunk/language_files/%LOCALE%/language.php (replace %LOCALE% with your locale string) and open it in a text editor of your choice
# '''Don't translate all strings in the file or you will spend days!! :)''' Search for the line including "### start of untranslated words" (that you've seen on the site). Be sure to remove the // at the end of each line you're translating.
# '''Don't translate all strings in the file!! :)''' Search for the line including "### start of untranslated words" and start from there. Be sure to remove the // at the end of each line you're translating.
#Save and e-mail the file back to me (djst at mozilla dot com) and I'll upload it on the server so we can try it out.
#Save and e-mail the file back to me (djst at mozilla dot com) and I'll upload it on the server so we can try it out.


If all goes well, we should be able to use this for all untranslated strings.
:::Note: You can check syntax of the language.php file with php command:<br/>
::::php -l language.php
 
[[Category:Support Archive]]

Latest revision as of 08:44, 14 July 2021

  1. Download the file http://svn.mozilla.org/projects/sumo/trunk/language_files/%LOCALE%/language.php (replace %LOCALE% with your locale string) and open it in a text editor of your choice
  2. Don't translate all strings in the file!! :) Search for the line including "### start of untranslated words" and start from there. Be sure to remove the // at the end of each line you're translating.
  3. Save and e-mail the file back to me (djst at mozilla dot com) and I'll upload it on the server so we can try it out.
Note: You can check syntax of the language.php file with php command:
php -l language.php