mozdev.org


ForecastFox

resources:
Forecastfox translation

Forecastfox translation

Preparing for translation

1. Download latest Forecastfox XPI file (for example forecastfox-0.5.8.xpi)

2. Open this file with archive program. I am using 7-zip and all following screenshots are showing this program, but Winrar and some other programs will do it too. So open 7-zip and navigate to forecastfox-0.5.8.xpi (see image below).


3. Right-click on this file and select Open archive from context menu.


4. Navigate to chrome subdirectory, select file forecastfox.jar and press Extract button to save it in some directory (for example in D:\Mozilla Translations\Forecastfox\Original\forecastfox.jar)


5. Navigate to saved forecastfox.jar, right-click on this file and select Open archive from context menu, then navigate to locale subdirectory. (see image below).


6.Select all subdirectories EXCEPT en-US. You can select multiple directories holding CTRL. Then press Delete to remove them.

7. Close 7-zip

Starting translation

8. Load Mozilla Translator. You can download it from here . You need Sun Java Virtual Machine to be installed to run Mozilla Translator.

9. In Mozilla Translator navigate to menu File and select Manage products. Press Add for creating new project.

10. In box Name enter name of product - forecastfox. In box Jar file in section Platform neutral enter full path to forecastfox.jar (D:\Mozilla Translations\Forecastfox\Original\forecastfox.jar) (see image below). Press OK. The window Manage products should appear. Press Exit.




11. Navigate to menu File and select Update product. The following window should appear:

Select product forecastfox from drop-down menu and press OK. The following window should appear:

Select columns as shown on the image. Hold a Ctrl to select multiple fields. In Locale field enter your locale code (for example pl-PL). Press OK.

The following window should appear:



12. If you don't have any files translated yet - you can start your translation. Navigate to topic 14 for some tips on translation. If you already have a translation and want to import it - navigate to topic 13 for instructions.

Importing translation

13. Navigate to menu Import - Import file. The following window should appear:



Expand the tree and select forecastfox.dtd file. In box File enter full path to translated forecastfox.dtd(see image below).



Press OK. Translation has been imported, but translated strings will appear in Text:translated fields only after you click on them with mouse. After you have done the window should looks like image below:



Then repeat this step for forecastfox.properties file.

Note: Sometimes, when you just created the project and want to import translation, you can not do it cause in Import file window tree is empty - it's a bug. In this case you should save translation and restart Mozilla Translator. Navigate to menu File and select Save Glossary and Save Settings, then in same menu select Quit. Then load Mozilla Translator again and navigate to topic 18 for instructions.

Some translation tips

14.
a) For inline edit move cursor to field Text:Translated and press F2. Type a translated word and press Enter

b) If you want only make some changes in original translation - move cursor to field Text:Translated and press ALT+E. The following window should appear:



Press Copy to copy contents of Original to Translated. Then press Close button to save your changes

Saving translation database

15. Navigate to menu File and select Save Glossary and Save Settings

Exporting translation

16. Navigate to menu Export and select Jar file. The following window should appear:



Enter the following parameters (see image below):

In box Locale enter your language code (for example ru-RU)

In box File enter full path to file where translation should saved (for example D:\Mozilla Translations\Forecastfox\Translated\forecastfox.jar).

In Export drop-down box select forecastfox >> Neutral



Press OK

Sending translation

17. Translated file (for example D:\Mozilla Translations\Forecastfox\Translated\forecastfox.jar) should be send to localization peer ( Alexander Slovesnik ) with e-mail.

Editing translation

18. If you want to make some changes in translation

a) Load Mozilla Translator.

b) Navigate to menu Edit and select Chrome view

c) The following window should appear:



Select columns as shown on the image. Hold Ctrl to select multiple fields. In Locale field enter your locale code (for example pl-PL). Press OK.

The following window should appear (see image below). Expand the tree and start to make changes.



Updating translation

Let's imagine that new version of forecastfox had been released.

19. Download new version of forecastfox.xpi and repeat all steps described in topics 2-7.

20. Replace original (from old version of forecastfox) forecastfox.jar ( placed in D:\Mozilla Translations\Forecastfox\Original\forecastfox.jar) with new one.

21. Load Mozilla Translator.

22. Navigate to menu File and select Update product. The following window should appear:



Select columns as shown on the image. Hold a Ctrl to select multiple fields. In Locale field enter your locale code (for example pl-PL). Press OK.

23. In appeared window there are only these strings that had been added or changed in new en-US version of forecastfox. Translate them, then export to JAR file (go to topic 16 for instructions)

For questions or comments about $project, please visit the ForecastFox forums.
For questions or comments not about a specific project, please read our feedback page.
Copyright © 2004. All rights reserved. Terms of Use.