Help - Search - Members - Calendar
Full Version: Parsers needed!
Skype Community > English > Windows > Translations
GioMac_
Need some help guys!

We all need some parser programs to convert filetypes from one format to other.
Someone needs parser to convert old .lang files to new ones, someone needs to convert files to other common translation formats.

Maybe someone already has some scripts. Can you share them with us?

I´ll try to speak with programmers - they may help.

I´t will help a lot if programmes ll´be not written in some "stupid" languages like "python" or something.

I need .lang -> .po and .po -> .lang file parsers, for example, i have .lang file with contents like this:

CODE
sF_IMPORTCONTACTS_PAGE7_LB_4_1=Thank You!

 sF_IMPORTCONTACTS_PAGE7_LB_4_2=Click 'Finish' to close this wizard.

 sF_IMPORTCONTACTS_PAGE7_LB_5_1=You can search for more contacts in the

 sF_IMPORTCONTACTS_PAGE7_LB_5_2=Skype Directory.

 sF_IMPORTCONTACTS_PAGE1_LB_3_1=Advanced:



I need it to be like that:

CODE
 #sF_IMPORTCONTACTS_PAGE7_LB_4_1

msgid "Thank You! "

msgstr ""



#sF_IMPORTCONTACTS_PAGE7_LB_4_2

msgid "Click 'Finish' to close this wizard. "

msgstr ""



#sF_IMPORTCONTACTS_PAGE7_LB_5_1

msgid "You can search for more contacts in the "

msgstr ""



#sF_IMPORTCONTACTS_PAGE7_LB_5_2

msgid "Skype Directory. "

msgstr ""



#sF_IMPORTCONTACTS_PAGE1_LB_3_1

msgid "Advanced: "

msgstr ""


Thank you!
filmil_
[quote=GioMac]Need some help guys![/quote]

Here it is. The parser from .lang to po and back, for the new lang file format. Written in Python for your enjoyment and general good mood.

http://cobalt.et.tudelft.nl/~filip/files/t...kype2po-1.4.tgz

[quote]I´t will help a lot if programmes ll´be not written in some "stupid" languages like "python" or something.[/quote]

As a token of appreciation of this statement of yours, the license file now says that you are forbidden to use the parser. You can, of course have the files converted by someone else but that's left to you.

Have fun,
f
GioMac_
bigsmile.png
OOK - Thanks Filip!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.