Attached you have two VBA script:
Make a macro in Word.
Edit the macro deleting it and add the contents of VBALang.doc
Get two new macros: aaLang and abComparaDict_Doc ()
Sub aaLang() extract from all files .ui ( from folder : ui_igo8 or ui_igo9 or ui_android or ui_becker )
This folders should be placed in e:\lang\0 ImplicitP20
You can configure from the lines:
Drive = 'e: \'
Skin = "0 ImplicitP20"
In folder e : \ lang you must have Dictionary.lang file - reference (the translated version of lang)
Unfortunately script know to seek into .ui files by sequences of type
text = "text_for_translate" and value = "Text_a|1|text_b|0"
Sub abComparaDict_Doc() compares two files: Dictionary.lang - Reference and DictionaryC.lang - for comparation, both in e : \ lang
Extract lines that are in DictionaryC.lang and not found in Dictionary.lang
The extracted lines must be translate and added at the end of Dictionary.lang from lang file .
You can make extraction from multiple skin.
Let's say you have 2 new version of skin, one for WIn and one for android
Rename all .ui files from a skin\ui_android\common\ui ( select all .ui file and rename into let's say Dimka Win => you'll get Dimka, Dimka(1), Dimka(2), ... Dimka(n) )
Copy all renamed .ui files into ui_igo9\common\ui .
Spoiler: link
Also, abComparaDict_Doc() can be used for compare 2 Dictionary.voice from TTS files.
If you can't handle, first extraction is free![]()



Likes: 



Reply With Quote

Bookmarks