[Logo] (This is Old Jaikoz/SongKong forum) Please go to https://community.jthink.net
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Creating new SongKong translations with Languish on OSX  XML
Forum Index -> SongKong Questions
Author Message


Joined: 21/08/2006 09:21:27
Messages: 8002

SongKong is fully internationalized into a number of all languages but not all. If you would like to translate SongKong into a new language this is simple to do and no programming skills are required and you will receive an acknowledgement in SongKong. Note you do not not need to translate everything, SongKong will just use the default English translation where your preferred language does not exist.

Below is a example using Malay as the desired translation.

Make a copy of properties folder in SongKong:

1. In Finder cntl-click on /Applications/SongKong and select Show Package Contents
2. Open Contents folder
3. Cntl-Click lang folder and select Copy from menu
4. Navigate to your Documents folder and select Paste to make a copy of the folder

Install Languish:

5. Download from http://jthink.net/languish/index.jsp and and mount languish-osx.dmg
6. Drag Languish to Applications Link
7. Start Languish from Applications folder

Create new Language Properties File:
8. From the Dialog select Open Resource File, then select songkong.properties from within the Documents/lang folder
9. It will then list all the languages that have been translated, do not select any others just select Ok
10. Select Locale/New Locale
11. Select a Locale from JVM Installed Locales, picking a language only (i.e select Malay not Malay (Malaysia)) and then select OK
12. A new column will now be displayed to the right of the Defaults (English) column You can now type in the values as required and correct the values, you don't have to supply every value to use the file.
13. One thing to be careful of is some of the values contain parameters, these are of the form {0}.{1},{2}.. You must ensure the same number of parameters are passed to the Malay language strings in order for it to be correct.
14.You can save changes with select File/Save option

Use new Language Properties File:
15. You now need to copy the new properties file (songkong_ms.properties for Malay) from Documents/lang to /Applications/SongKong.app/Contents/lang
16. Now if you start SongKong and select Preferences/Language you can now select Malay, and it will start using the new values in the Malay properties file that you just modified
17. Note if a value doesn't exist it in the Malay column it will use the default (English) value instead.
18. Please email support@jthink.net with the new file from Documents/lang (songkong_ms.properties for Malay) when you are happy with it and I will add it to the next release and add your name to the SongKong acknowledgements window.

thanks Paul

thanks Paul (Administrator)
Forum Index -> SongKong Questions
Go to:   
Powered by JForum 2.1.6 © JForum Team