Print at Dec 21, 2025, 2:53:32 AM

Posted by Puybaret at Sep 9, 2008, 11:54:00 AM
Re: Chinese Translation
Hello,

I suppose you already imported Sweet Home 3D project in Eclipse as noted in file http://sweethome3d.cvs.sourceforge.net/*check...n=1.9&pathrev=V_1_3_1

The chinese version of HomePane.properties file should be placed in the same directory and named HomePane_zh.properties.
Default languages is always English in Sweet Home 3D to ensure Ok, Cancel... and other default labels shown in dialogs are also in English. To be able to choose Chinese language in Preferences dialog, edit com.eteks.sweethome3d.model.UserPreferences class and add "zh" in SUPPORTED_LANGUAGES field (I know this solution is far from perfect and it will probably evolve in the future ;-).

To complete the translation, you should also translate all the properties files found in Sweet Home 3D directories (translate only name# and category# properties found in furniture catalog files of src/com/eteks/sweethome3d/io directory). Finally, you should also translate the help files found in src/com/eteks/sweethome3d/swing/resources/help/en in a directory named src/com/eteks/sweethome3d/swing/resources/help/zh .

Don't hesitate to ask more questions if needed.


----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator