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: 3.1.0.1

Last Login: Saturday, December 28, 2024
Posts: 193, Visits: 4,270
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
Replies
Posted Sunday, January 6, 2008 - Post #20331
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Important Contributors
Customers
GenoPro version: 3.1.0.1

Last Login: Saturday, December 28, 2024
Posts: 193, Visits: 4,270
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 Tuesday, March 5, 2013 - Post #31402
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

GenoPro version: 2.5.4.0
Last Login: Wednesday, March 6, 2013
Posts: 1, Visits: 1
fbukolyi (07-Jan-2008)
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.
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: Wednesday, June 25, 2025
Posts: 103, Visits: 2,092
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: 26 minutes ago
Posts: 3,499, Visits: 27,402
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: Tuesday, February 3, 2026
Posts: 4,886, Visits: 22,803
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: 26 minutes ago
Posts: 3,499, Visits: 27,402
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 (422 views, 438.08 KB)
LanguageComparison_1.1.zip (378 views, 54.59 KB)


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

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 22, 2026
Posts: 215, Visits: 2,042
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

Posted Monday, January 14, 2008 - Post #20437
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: 26 minutes ago
Posts: 3,499, Visits: 27,402
Jordi-Albert Batalla (1/14/2008)
can we use this tool to check all the translations?

Firstly, has it really been three years, it seems like yesterday!

But yes it can be used to check any of the GenoPro Language files (but not other files)

there is the possibility to import from this files?
Theoretically it is possible to reverse the process, i.e. export from the spreadsheet back to .csv, then have a script to convert the .csv back to .xml. However it would not be possible to reproduce the GenoPro's rules and processing that ensures that the structure and content of the .xml file is valid. I.e. I could not guarantee the results!

 

have no open office. How can I have the ES and CA (catalan) text?
OpenOffice is a free, but large, download from http://www.openoffice.org or alternatively it can be ordered on CD for a few dollars. If you have a version of Excel later than 2000, it may also open the .csv files. Failing that, you can open the .csv files with say Notepad, but it is not that easy to read the text as it is not in columns.

How I must use this tool?
Unzip the skin template into a folder below your GenoPro skins folder. (you and view and change the location of your skins folder in the Options tab of GenoPro's Generate Report dialog). Then place all the Language files you would like to compare in another folder of your choice. In your case the files will be EN.xml, ES.xml and CA.xml. Finally choose the GenoPro's Generate Report option from the Tools menu, set the destination folder to be that containing these language files and then click Generate button.  All the .csv files will then be written to the destination folder. You can then open each .csv file with OpenOffice sCalc to view the translations, English, Spanish & Catalan side by side in columns. You can compare any number of Language files at the same time.



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


Edited: Monday, January 14, 2008 by Ron

Threaded View

Expand / Collapse
Threaded View
Forum Post Printing the translated texts By fbukolyi ( Saturday, January 5, 2008 )
Forum Post Marvelous! And working! Concerning Excel: from Excel 2003 it should... By fbukolyi ( Monday, January 14, 2008 )
Forum Post Thanks Feri.... but it doesn't work. I do all the process and I... By Jordi-Albert ( Tuesday, January 15, 2008 )
Forum Post Perhaps do did not read my post that preceded Feri's. You must run it... By genome ( Tuesday, January 15, 2008 )
Forum Post Thanks again Ron... it works! sorry... I didn't read your... By Jordi-Albert ( Tuesday, January 15, 2008 )
Forum Post I am working on the Hungarian translation - but the idea is language... By fbukolyi ( Sunday, January 6, 2008 )
Forum Post [quote][b]fbukolyi (07-Jan-2008)[/b][hr]I am working on the Hungarian... By 1217873 ( Tuesday, March 5, 2013 )
Forum Post This kind of report could be very useful in order to make an integral... By haep ( Monday, January 7, 2008 )
Forum Post I'm not that familiar with translation of GenoPro but on a cursory... By genome ( Tuesday, January 8, 2008 )
Forum Post The English language file is available at... By GenoProSupport ( Thursday, January 10, 2008 )
Forum Post Well it was relatively straightforward ( a couple of hundred lines of... By genome ( Monday, January 14, 2008 )
Forum Post Fantastic Ron. Congratulations!! can we use this tool to check all the... By Jordi-Albert ( Monday, January 14, 2008 )
Forum Post [quote][b]Jordi-Albert Batalla (1/14/2008)[/b][hr]can we use this tool... By genome ( Monday, January 14, 2008 )
Forum Post Hi, yes, copy-paste is working, thanks. It is a bit boring for the... By fbukolyi ( Sunday, January 6, 2008 )
Forum Post I am curious what GenoPro could to to improve this - and what language... By GenoProSupport ( Sunday, January 6, 2008 )
Forum Post You can always copy & paste the table for translation into a word... By GenoProSupport ( Saturday, January 5, 2008 )


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse