WINAMP.COM | Forums > Developer Center > Winamp Development > Winamp Translation |
Last Thread
Next Thread
|
| Author |
|
|
DrO Moderator
Registered: Sep 2003 |
http://www.meggamusic.co.uk/winamp/docs/xlat/xlat.html has some information about the wlz format (basically a renamed zip with .lng and other files stored inside it like skins). __________________ |
||
|
|
|
Koopa Forum King
Registered: Apr 2004 |
Well, I agree with the above post. If a plug-in is really useful/popular, then there is a good chance, that I'd include it to my wlz file. __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Hm, I've managed to look into them at that point, and it didn't seem to hard to do, but wasn't sure if the change (pretty big one, coding-wise) would be worth it. I mean I'm not sure how much would I have to change around... loading the file, shipping the files with the installer etc. It's prolly not that hard, but since I don't know that much about the whole system, I'm a bit skeptical __________________ |
||
|
|
|
Koopa Forum King
Registered: Apr 2004 |
The localized files would be shipped in the wlz files from the translators and not in your installer. __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Okay, so what about the existing translations? Can I just convert them to this format, and "someone" will include them in the pack, or the "new" translators will re-translate them? __________________ |
||
|
|
|
Koopa Forum King
Registered: Apr 2004 |
Should be possible to convert the strings from your ini based translations to the lng format, since you know, what string is related to which translation string. __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Okay, I don't have time in the weekend, but I'll look into this next week, and try to convert it to the "official" translation system __________________ |
||
|
|
|
DrO Moderator
Registered: Sep 2003 |
there's nothing stopping things being left in an ini file setup (is how my jtfe plugin and few others still are since they pre-dated the 5.5+ WLZ support and i don't have the time/resources to migrate things now). since you could have your code look in the exported language folder (see IPC_GETLANGUAGEPACKINSTANCE) for an 'auto' or some other specifically named file and use that if found otherwise use a custom file as per the user's decision (like the droplist i have in the jtfe plugin). __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Hm, really? Can you elaborate on this? I mean on the "being left in an ini file setup". __________________ |
||
|
|
|
Koopa Forum King
Registered: Apr 2004 |
I guess he means, that you could add both things. __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Okay, this made it almost clear __________________ |
||
|
|
|
Koopa Forum King
Registered: Apr 2004 |
I hope DrO replies and gives you a better explanation. __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Well you've said in that thread that an .ini file can be a valid language file for the pack. I don't want the translators to modify my dialog, I think it fits the needs of all languages (If not, I'll make changes so it will). If this is the case, will the .ini file strings be accessible through the same language service api? Also, how will it find the correct file, I understood that's done via the 65535 string entry if it were a string resource? __________________ |
||
|
|
|
Koopa Forum King
Registered: Apr 2004 |
Yes, the wlz system can use ini files as well. No need to use a lng file. Jump to File, Time Restore and other of DrO's plugins use ini files as well. __________________ |
||
|
|
|
DrO Moderator
Registered: Sep 2003 |
i'll do a full reply to all of the points raised at the start of next week (oh i know how to use my time off work for fun...) __________________ |
||
|
|
|
TheSaw Senior Member
Registered: Apr 2009 |
Okay, no rush __________________ |
||
|
|
|
Ruzzz Junior Member
Registered: Nov 2009 |
I am also interested in this topic, if possible, create a FAQ |
||
|
|
|
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > Winamp Development > Winamp Translation |
Forum Rules:
|