|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 1:38:54 AM
GenoPro Version: 2.0.1.5
Posts: 552,
Visits: 7,239
|
|
| 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>
|
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Yesterday @ 7:47:55 PM
GenoPro Version: 2.0.1.5
Posts: 3,387,
Visits: 13,912
|
|
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.
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 1:38:54 AM
GenoPro Version: 2.0.1.5
Posts: 552,
Visits: 7,239
|
|
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?
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Yesterday @ 7:47:55 PM
GenoPro Version: 2.0.1.5
Posts: 3,387,
Visits: 13,912
|
|
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
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 1:38:54 AM
GenoPro Version: 2.0.1.5
Posts: 552,
Visits: 7,239
|
|
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.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Yesterday @ 7:47:55 PM
GenoPro Version: 2.0.1.5
Posts: 3,387,
Visits: 13,912
|
|
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>.
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 1:38:54 AM
GenoPro Version: 2.0.1.5
Posts: 552,
Visits: 7,239
|
|
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.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 2:53:25 AM
GenoPro Version: 2.0.1.6
Posts: 1,041,
Visits: 4,751
|
|
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"
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 1:38:54 AM
GenoPro Version: 2.0.1.5
Posts: 552,
Visits: 7,239
|
|
Thanks Ron.  The format that GenoProSupport suggested was just fine.
|
|
|
|