Translating Months into Hebrew
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Translating Months into Hebrew Expand / Collapse
Author
Message
Post #18513 Posted 7/15/2007 7:34:33 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

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:

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>

Post #18534 Posted 7/16/2007 8:43:37 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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.

Post #18536 Posted 7/17/2007 1:30:26 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

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?

Post #18537 Posted 7/17/2007 5:26:24 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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

<Apr>אפריל</Apr>


Post #18542 Posted 7/17/2007 6:15:30 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

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

<Apr>אפריל</Apr>

Didn't work. I keep getting the: "LanguageDictionary.Lookup("Apr") failed!" error message.

 

Post #18543 Posted 7/17/2007 6:37:32 AM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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>.

Post #18544 Posted 7/17/2007 6:49:12 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

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.

Post #18545 Posted 7/17/2007 7:16:02 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

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"
Post #18546 Posted 7/17/2007 7:23:55 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community 

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.