GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Translating Months into Hebrew

Click to view RSS...
Author
Posted Sunday, July 15, 2007 - Post #18513
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Saturday, January 20, 2018
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:

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>
Posted Monday, July 16, 2007 - Post #18534
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: Thursday, October 21, 2021
Posts: 4,658, Visits: 22,358
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.
Posted Monday, July 16, 2007 - Post #18536
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Saturday, January 20, 2018
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?

Posted Tuesday, July 17, 2007 - Post #18537
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: Thursday, October 21, 2021
Posts: 4,658, Visits: 22,358
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>
Posted Tuesday, July 17, 2007 - Post #18542
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Saturday, January 20, 2018
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

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

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

 

Posted Tuesday, July 17, 2007 - Post #18543
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: Thursday, October 21, 2021
Posts: 4,658, Visits: 22,358
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>.
Posted Tuesday, July 17, 2007 - Post #18544
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Saturday, January 20, 2018
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.

Posted Tuesday, July 17, 2007 - Post #18545
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: 2 hours ago
Posts: 3,115, Visits: 22,632
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
Posted Tuesday, July 17, 2007 - Post #18546
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 2.5.4.1

Last Login: Saturday, January 20, 2018
Posts: 334, Visits: 7,574
Thanks Ron. Smile

The format that GenoProSupport suggested was just fine.



Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse