Australia
Joined: Apr 20, 2011
Post Count: 6
Status:
Offline
Testing a translated language in Linux
Hi,
I translated English into Korean for Sweethome3D. When I tested it in Windows 7, it works very well without any problems. I also tried to test it in Linux but it was not executed when I clicked a sh3l file.
I copied it into the folder following descriptions about guide of translating. However, it doesn`t still work when I executed the Sweethome3D.
Could anyone who knows ways to test in Linux please help me??
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Testing a translated language in Linux
It's great to learn you succeeded to translate Sweet Home 3D in Korean.
I guess your problem under Linux comes from a bad directory configuration. As file associations don't work under Linux, you should try to open your sh3l file with Sweet Home 3D from a Terminal window: - if you run Sweet Home 3D from its installer, open a Terminal window, drag SweetHome3D file found in "SweetHome3D-3.2" directory and drop it in the Terminal window to copy its path, then drag and drop the sh3l file and press enter in the Terminal window. Your command should look like:
/path/to/SweetHome3D /path/to/Korean.sh3l
- if you run Sweet Home 3D from Java Web Start, open a Terminal window, type:
As this second way of doing depends on the Java Web Start implementation installed on your system, it may not work all the time.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 1 times,
last edit by Puybaret at May 26, 2011, 7:51:34 AM]
Australia
Joined: Apr 20, 2011
Post Count: 6
Status:
Offline
Re: Testing a translated language in Linux
I translated all help pages but it`s not applied to the Sweethome3D. The interface of it changed to Korean but help pages still are showed in English. What is the problem of my sh3l file??
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Testing a translated language in Linux
Did you updated the value of the HelpController.helpIndex key in com/eteks/sweethome3d/viewcontroller/package_ko.properties file? It should be something like:
Australia
Joined: Apr 20, 2011
Post Count: 6
Status:
Offline
Re: Testing a translated language in Linux
Oh, many thanks, I fixed it.
When I tested my help pages in Korean, there are some pictures not displayed like verticalLine.gif in the index html file, creatingPhotos.jpg, photoQuality0, 1, 2, and 3 in the creatingPhotos html file and so on.
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Testing a translated language in Linux
You have to include in your sh3l file all the images found in the /com/eteks/sweethome3d/viewcontroller/resources/help/images directory of the SweetHome3DTranslation.zip file as well as help.css file, even if these files already exist in Sweet Home 3D. It's a classpath issue and I don't think I can circumvent it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Jan 3, 2011
Post Count: 44
Status:
Offline
Re:
Testing a translated language in Linux
Hi, shewtang congratulationses on succeeding in translating the Korean language, welcomes to join " Sweet Home 3d sh3l" The family, very glad you understand and succeed in translating Korean languages during a short month.
Australia
Joined: Apr 20, 2011
Post Count: 6
Status:
Offline
Re: Testing a translated language in Linux
I downloaded a translation file again to find those missing pictures but I couldn`t find the missing pictures in images folders.
Actually, I found the pictures in source code files from the CVS repository and fixed problem by copying the pictures into image folders on my sh3l file.
I think in uploaded file for translation, some pictures are missing.
My sh3l file was tested on Ubuntu-11.04 and Windows7 except Mac and there was no problem. Is there anyone who can test it on Mac?? The person who want to test it on Mac please send me e-mail, “u4899973@anu.edu.au”.