By Yehudad - Sunday, July 15, 2007
|
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: Cmonth = LanguageDictionary(Cmonth) | 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>
|
|
By GenoProSupport - Monday, July 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.
|
By Yehudad - Monday, July 16, 2007
|
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?
|
By GenoProSupport - Tuesday, July 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
|
By Yehudad - Tuesday, July 17, 2007
|
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.
|
By GenoProSupport - Tuesday, July 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> .
|
By Yehudad - Tuesday, July 17, 2007
|
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.
|
By genome - Tuesday, July 17, 2007
|
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>
|
|
By Yehudad - Tuesday, July 17, 2007
|
Thanks Ron.  The format that GenoProSupport suggested was just fine.
|