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

GenoPro Support Forum




To change narrative place name...

Click to view RSS...
Author
Posted Wednesday, March 25, 2009 - Post #23834
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Forum Members
Gamma
GenoPro version: 3.1.0.1

Last Login: Thursday, July 20, 2023
Posts: 24, Visits: 145
My small tutorial is now available in this topic (Polski Raport Narracyjny - Nowa wersja).

I hope you'll use it and enjoy the solution of new Slavonic grammar problem!

Greetings,
Mateusz Czerniga


Edited: Monday, March 30, 2009 by GenoProSupport
Posted Tuesday, January 27, 2009 - Post #23502
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Forum Members
Gamma
GenoPro version: 3.1.0.1

Last Login: Thursday, July 20, 2023
Posts: 24, Visits: 145
THANK YOU RON !!!!

You were right... When I cheked the MD5 sum of my file, it turned out that my Init.htm is incompleted. I've downloaded it again and now it works perfectly with all Slavian versions, included my newest Polish.

I'll create some tutorials how to use your idea to inform a lot of Polish GenoPro users about generating reports with irregular noun forms in the nearest future.

Greetings, and thank you again Smile


Edited: Tuesday, January 27, 2009 by Czarniok
Posted Tuesday, January 27, 2009 - Post #23501
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: 1 hour ago
Posts: 3,408, Visits: 26,283
The error 'Type Mismatch' on line 38 of Index.htm suggests to me that your Init.htm has not executed correctly. I have downloaded it and rechecked and it works ok with EN and PL

Maybe your download is corrupt.

Please right click on the attachment and select 'save target as' and save it as Init.htm. You can check it is the correct version by computing its MD5 checksum. I calculated it to be 64a79051da1482123b72a79dcc2b7ab1 using HashMyFiles-u 


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Tuesday, January 27, 2009 by Ron
Posted Tuesday, January 27, 2009 - Post #23500
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Forum Members
Gamma
GenoPro version: 3.1.0.1

Last Login: Thursday, July 20, 2023
Posts: 24, Visits: 145
Generating a report with your new Init.htm makes an error:

Generating report to 'D:\GenoPro Reports\Moje Drzewo Genealogiczne\Polski (2.0.1.6)-new2\'
Cloning document Moje Drzewo Genealogiczne...
Opening configuration file Config.xml for skin '\Polski Raport Narracyjny (2.0.1.6) - init\* (Polski Raport Narracyjny)'...
Loading Dictionary.xml...
[0.00] Processing template 'init.htm'...
[0.01] Processing template 'index.html'...
Error at line 38, position 1 (Code/Util.vbs): Niezgodność typów: 'arrGeneralSettings'
Microsoft VBScript - błąd czasu wykonywania 800A000D


I think that this error makes only some differences between Polish and English skin. I'm waiting for your answer.
Posted Monday, January 26, 2009 - Post #23498
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: 1 hour ago
Posts: 3,408, Visits: 26,283
I have now added a version of Init.htm to my earlier post that works with 2.0.1.6 (EN version at least :heheSmile. You will obviously need to rename this to back Init.htm

Let me know the details if this still gives problems.

But I suggest you try and move your Dictionary & Config to the latest Narrative skin as there are issues with thumbnails and other items in 2.0.1.6.

The NameDictionary approach is probably the least user-friendly. However the requirements are documented at the head of the skeleton file included with the skin. You need to add lines such as this for eaqch of your places at the end of the file where indicated by the line <!-- Place your own entries below here -->

   <N P.PL="Starogard Gdański"  P.PL_L="w [Starogardzie Gdańskim]"/>

and then set the Configuration parameter in the Language Settings section to get locative noun forms from the NameDictionary

and to Alex,

Yes indeed I agree whole-heartedly that it would be good to have something similar integrated into GenoPro itself. However this requires that the proposal is adopted by GenoPro Inc. for inclusion in the product. GenoPro Gamma is now approaching a year late so I wonder when or if it might get included. I have put in many 'work-arounds' via Custom Tags - so many I can't remember all of them! One day I must write a guide to customising the Narrative Report .....


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Monday, January 26, 2009 - Post #23497
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Forum Members
Gamma
GenoPro version: 3.1.0.1

Last Login: Thursday, July 20, 2023
Posts: 24, Visits: 145
Hmmm...

Your Init.htm doesn't work correctly with our Polish skin... Unsure

I think using the NameDictionary.xml will be better, but how should I create this file, and how to use it (language codes etc.)?

Please write me soon. You don't know how many people will be happy to solve this problem Cool

According to the last post: I agree completelly with Alex, enable this field will be better solution for all users of GenoPro in the world.

Please help us Smile

-------------------------------------
Edit: I've created the newest Polish skin, which works perfectly with version 2.0.1.6.
I've uptaded it on http://support.genopro.com/Topic18532-103-4.aspx


The only problem is the narrative forms of places, so help us as soon as possible.

Greetings,
Mateusz Czerniga



Edited: Monday, January 26, 2009 by Czarniok
Posted Monday, January 26, 2009 - Post #23496
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 3:27 PM
Posts: 282, Visits: 12,418
Hi, Ron.
Now it works perfectly in Russian! Thank you!
This will improve considerably the narration for Slavonic languages.
But I think it will be a difficult way for users (not for translators).
Meanwhile in all dialogues New Place and Edit Place we may choose the Narrative Prefix to be used in the Narrative report. In the field to the right from the Narrative Prefix field we may see how this word combination looks like. But now we can change nothing in this field.
Here is a proposal: would this field be not Read only the changes in the word inflections will be
made by the users and automatically inserted afterwards to... the Name Dictionary (for example). Then the report will be created in the correct way and with due regard for these changes.
Is this possible?
Posted Monday, January 26, 2009 - Post #23493
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: 1 hour ago
Posts: 3,408, Visits: 26,283
A present there are two ways to derive the locative case of a Proper Noun as you require in Polish. The first is to use NameDictionary.xml as you have indicated.

The second way is to use a VBScript 'regular expression' via the Dictionary entry LocativeProperNoun but this will be very difficult or even impossible unless the locative case can be generated using a simple set of rules.

Alternatively it is possible to add code to handle an extra Custom Tag for Places, e.g. Name.Locative to hold this form which will allow you to add it via the Table Layout by adding this Custom Tag column. I have made the required coding changes in the attached Init.htm file that you can try in your custom Polish skin. You can enter the locative form either with or without the preposition, but if it is included ,or indeed is not required, then any leading space must be entered and the place name should be enclosed in square brackets. e.g. either ' w [Starogardzie Gdańskim]' or 'Starogardzie Gdańskim'.  In the last case the standard preposition action will be applied.

If you can confirm that this meets your needs then I will include it in the next release of the Report skin.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Init.htm (140 views, 54.77 KB)

Edited: Monday, January 26, 2009 by Ron
Posted Sunday, January 25, 2009 - Post #23491
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Customers
Important Contributors
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Sunday, March 21, 2021
Posts: 716, Visits: 12,927
I suggest you create a new place with this new name and use this name for this person`s birth place until you have solved this grammatical issue.
Posted Sunday, January 25, 2009 - Post #23490
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Forum Members
Gamma
GenoPro version: 3.1.0.1

Last Login: Thursday, July 20, 2023
Posts: 24, Visits: 145
I meant:

If the place name is eg. Starogard Gdański, we say:

Starogard Gdański is the city of his family. - Starogard Gdański to miasto jego rodziny.


but

He was born in Starogard Gdański - On urodził się w Starogardzie Gdańskim (not "w Starogard Gdański")


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh