|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Testing a translated language in Linux |
||
| Print at Dec 20, 2025, 8:53:59 AM |
|
|
| Posted by shewtang at May 26, 2011, 5:34:59 AM |
|
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?? |
| Posted by Puybaret at May 26, 2011, 7:39:29 AM |
|
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: javaws http://www.sweethome3d.com/SweetHome3D.jnlp -open javaws http://www.sweethome3d.com/SweetHome3D.jnlp -open /path/to/Korean.sh3l---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by shewtang at May 27, 2011, 8:21:30 AM |
|
Re: Testing a translated language in Linux Thank you, it works. For help pages, I changed character encoding of html ISO to UTF-8. Is it ok? |
| Posted by Puybaret at May 27, 2011, 9:18:40 AM |
|
Re: Testing a translated language in Linux No problem, help pages and its search engine take into account the encoding you set in header with meta tag: <meta http-equiv="content-type" content="text/html;charset=...">---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by shewtang at May 27, 2011, 2:42:43 PM |
|
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?? |
| Posted by Puybaret at May 27, 2011, 3:15:38 PM |
|
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: HelpController.helpIndex=/com/eteks/sweethome3d/viewcontroller/resources/help/ko/index.html---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by shewtang at May 27, 2011, 7:13:42 PM |
|
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. Should I set something to display the pictures?? |
| Posted by Puybaret at May 27, 2011, 9:58:59 PM |
|
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 |
| Posted by sclee at May 28, 2011, 3:32:45 AM |
|
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. Lee.Shin-Chun |
| Posted by shewtang at May 28, 2011, 9:04:19 AM |
|
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, “[email protected]â€. |
|
|
|
Current timezone is GMT Dec 20, 2025, 8:53:59 AM |