|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
I have two problems with the Months translation. 1. I saw that the months are not in the Enumerations "to translate" list, why is that? I want to write the Gregorian names in Hebrew (not to use the Hebrew calander). 2. I wanted to translate the English name into Hebrew but using the Dictionary.xml is not working. This is my code line: and it is not working while retrieving any value. For example this is my line to retrieve the Hebrew value for "Apr":
<Apr T="אפריל">April</Apr>
|
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
GenoPro's calendar has support for 13 months, with the last month name Sol. Of course, there is no direct mapping from a 12-month calendar to a 13-month calendar, however if you give a Hebrew name to the month of Sol, it should work.
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
GenoProSupport (7/16/2007) GenoPro's calendar has support for 13 months, with the last month name Sol. Of course, there is no direct mapping from a 12-month calendar to a 13-month calendar, however if you give a Hebrew name to the month of Sol, it should work.I know that. I already put my translation into the Dictionary.xml file. The problem is that when I generate my report there is an error that it can't find the translation. I guess that there is a problem with the format I wrote that disables the Report Generator option to translate the month int Hebrew. Is the line syntax (for April) I quoted in my previous post OK?
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
Yehudad (7/17/2007) The problem is that when I generate my report there is an error that it can't find the translation.Try
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
GenoProSupport (7/17/2007)
Yehudad (7/17/2007) The problem is that when I generate my report there is an error that it can't find the translation.Try Didn't work. I keep getting the: "LanguageDictionary.Lookup("Apr") failed!" error message.
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Thursday, January 16, 2025
Posts: 4,886,
Visits: 22,775
|
You cannot do a LanguageDictionary.Lookup() to get the name of a month. The Lookup() function will look in the section <ReportGenerator> . If you want to see Hebrew month names, just generate a report with dates containing month names, and GenoPro will use whe month names specified in the section <DateFormatting> .
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
GenoProSupport (7/17/2007) You cannot do a LanguageDictionary.Lookup() to get the name of a month. The Lookup() function will look in the section <ReportGenerator> . If you want to see Hebrew month names, just generate a report with dates containing month names, and GenoPro will use whe month names specified in the section <DateFormatting> .That was my mistake. The months translation wasn't in the ReportGenerator section... What I wanted to see is the translation of a gregorian date to Hebrew. For example: April will be אפריל which is how you write April in Hebrew.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 1 hour ago
Posts: 3,412,
Visits: 26,302
|
Yehudad (7/15/2007)
For example this is my line to retrieve the Hebrew value for "Apr": <Apr T="אפריל">April</Apr>
|
The attribute for short month is S not T so try <Apr S="אפריל">April</Apr>
|
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Tuesday, July 17, 2007 by
Ron
|
|
|
Customers Important Contributors Translator GenoPro version: 3.1.0.1
Last Login: Friday, November 25, 2022
Posts: 334,
Visits: 7,574
|
Thanks Ron.  The format that GenoProSupport suggested was just fine.
|