GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Printing the translated texts

Click to view RSS...
Author Would be useful, if the translation of GenoPro (not the reports) can be checked not only on the screen.
Posted Saturday, January 5, 2008 - Post #20287
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Important Contributors
Customers
GenoPro version: 2.5.4.0

Last Login: Tuesday, November 14, 2017
Posts: 193, Visits: 4,268
I have found quite difficult to check the translation result on the screen.

1. the texts may be too long, thus do not fit on the screen.
2. there are shared texts
3. the same word may appear in several translated strings, hard to remember to use the correct Smile
4. for shortcuts hard to identify, whether the shortcut is still free or used by another function

Is it possible to have a - probably - report, which allows to print out all translated texts with their English origins? With the same details, like in the translation dialogs (for example for menu translation the details should be: Menu text, keyboard shortcut, status bar (tehn the same three for the English), ID)



Feri
Posted Saturday, January 5, 2008 - Post #20289
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 18 minutes ago
Posts: 4,880, Visits: 22,747
You can always copy & paste the table for translation into a word processor and print it if you wish.  I thought the English text was always visible.  As for the dialogs, the translation is done in real-time and the accelerators/shortcuts will be displayed in bold if there is a conflict.  If the text is shared, then you can enter it there in the Shared Text column and you won't have to type it again.
Posted Sunday, January 6, 2008 - Post #20304
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Important Contributors
Customers
GenoPro version: 2.5.4.0

Last Login: Tuesday, November 14, 2017
Posts: 193, Visits: 4,268
Hi, yes, copy-paste is working, thanks. It is a bit boring for the dialog boxes (30+), but due to the fact, that the translation should not be a forever ongoing task Tongue: I can live with the copy-paste: btw. better to to it with Excel w00t


Feri
Posted Sunday, January 6, 2008 - Post #20314
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 18 minutes ago
Posts: 4,880, Visits: 22,747
I am curious what GenoPro could to to improve this - and what language you interested in translating...
Posted Sunday, January 6, 2008 - Post #20331
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Important Contributors
Customers
GenoPro version: 2.5.4.0

Last Login: Tuesday, November 14, 2017
Posts: 193, Visits: 4,268
I am working on the Hungarian translation - but the idea is language independent.

What I thought is a report, which has one parameter (the target language) and lists all items which can be translated with their English origin and the target language. Similar, if I make one Excel table by copy-pasting all dialogs, menus, etc. from the translation tables.



Feri
Posted Monday, January 7, 2008 - Post #20335
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, August 13, 2023
Posts: 102, Visits: 2,086
This kind of report could be very useful in order to make an integral revision of fully translated languages. (as spanish:heheSmile

Regards,

Hugo

Posted Tuesday, January 8, 2008 - Post #20345
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 4 hours ago
Posts: 3,323, Visits: 25,490
I'm not that familiar with translation of GenoPro but on a cursory examination I think it should be relatively straightforward to write a GenoPro report skin, or a freestanding VBScript/Jscript), that reads one or more XX.xml GenoPro Language files using MSXML DOM interfaces and produces say  a .csv file for each section (Menus, Dialogs, Tags, Messages, Enumerations) with a column for each language present. The .csv files could then each be loaded into an Excel (or OOo) sheet. However at present there doesn't appear to be a base English Language.xml file to provide a reference point, I presume this is because it is built in to GenoPro itself.

Question to Dan - is it possible provide an EN.xml Language file? Then it should then be possible to read the tags and values from the English file and then read the equivalent tag from each of the other language files and output details to  a .csv file.

Theoretically one could use MS Excel or OOo automation to create a spreadsheet directly, but .csv is easier to start with.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Thursday, January 10, 2008 - Post #20354
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: 18 minutes ago
Posts: 4,880, Visits: 22,747
The English language file is available at http://www.genopro.com/translation/EN/Language.xml
Posted Monday, January 14, 2008 - Post #20428
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 4 hours ago
Posts: 3,323, Visits: 25,490
Well it was relatively straightforward ( a couple of hundred lines of code :ermmSmile with a few stumbling blocks along the way! The resulting skin is attached. It will compare two or more Langauge files listing the strings side by side. The skin will produce a .csv file for each section of the Language.xml files, i.e. Dialogs.csv, Enumerations.csv, Tags.csv, MenuItems.csv & Messages.csv. The .csv files are 'tab' separated and encoded as Unicode (UTF-8).

The OpenOffice spreadsheet, sCalc will open them provided you set 'Character set' to Unicode (UTF-8) and specify tab as the delimiter, but MS Excel 2000 doesn't like utf-8! I don't know about later versions of Excel.

However you can save the OpenOffice one in MS Excel format. The destination folder for the report must also hold the language files to be used as input with names of the form XX.xml, e.g. EN.xml, RU.xml etc. The EN.xml file must be present, (see Daniel's post below for download). You can include as many other language files as you like.

Also attached are sample spreadsheets built from the output .csv files, using Spanish, French and Russian language files as input.  Languages.ods is OpenOffice, Languages.xls is the OOo one saved as Excel.

Update: 2008/01/15 Minor change to add version numbers to header line in files. Also a few more comments in the scripts.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Samples.zip (306 views, 438.08 KB)
LanguageComparison_1.1.zip (292 views, 54.59 KB)


Edited: Tuesday, January 15, 2008 by Ron
Posted Monday, January 14, 2008 - Post #20431
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
Translator
GenoPro version: 3.1.0.1

Last Login: 1 hour ago
Posts: 166, Visits: 1,344
Fantastic Ron. Congratulations!!

can we use this tool to check all the translations?

there is the possibility to import from this files?

 

(edited)

I have no open office. How can I have the ES and CA (catalan) text?

How I must use this tool?

Edited: Monday, January 14, 2008 by Jordi-Albert Batalla



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse