|
|
|
Forum Expert
      
Group: Customers
Last Login: 10/24/2008 8:47:11 AM
GenoPro Version: 2.0.1.6
Posts: 92,
Visits: 241
|
|
| I found the newest generator easy to work with and have a skin in Swedish ALMOST ready to go. Q: Where do I find (and edit) the texts (individuals/families) that appear after the counters of names in the index? Anna
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517,
Visits: 14,852
|
|
Anna (8/31/2005) Q: Where do I find (and edit) the texts (individuals/families) that appear after the counters of names in the index?The report generator uses the method Dic.PlurialCount("Individual", cIndividuals) or Dic.PlurialCount("Family", cFamilies). You need to translate the following tags in Dictionary.xml. Use the attribute P= for the plurial form if different from the default plurial. <Picture T="Picture"/> <Family T="Family" P="Families"/> <Individual T="Individual"/> |
|
|
|
|
|
Forum Expert
      
Group: Customers
Last Login: 10/24/2008 8:47:11 AM
GenoPro Version: 2.0.1.6
Posts: 92,
Visits: 241
|
|
Thank you for the prompt reply, and: Sorry, shouldn't have missed it. OK, now the Swedish skin works. I've inserted plurals for sons, daughters, siblings etc in the dict, and added the swedish possessive forms for nouns in lang. Q:The phrase during (period) a's occupation was... did not work out in swedish. I wish to rearrange the order of the terms, resulting in: A worked as ..... during... So, how do I change the format from the basik form A to the possessive form A's? I've searched for the string "PhOccupation in lang to find where tio make the substiute, but is is not in that file?
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517,
Visits: 14,852
|
|
Anna how do I change the format from the basik form A to the possessive form A's? I've searched for the string "PhOccupation" but is is not in that file?The phrase PhOccupation is found in file individual.htm. If you want to remove the possessive form, replace the line strRelative = StrPossessiveProperNoun(i.Name.Short) by strRelative = i.Name.Short. In the future, I am planning to improve the phrase generator to have a built-in possessive set of rules and a new tag syntax such as: | Report.WritePhrase "{p0,1}", "Dan", "car" |
Such a phrase would produce the following output: "Dan's car". In French, the code Report.WritePhrase "{p0,1}", "Dan", "auto" would produce "L'auto de Dan". Using this new improvement, removing the possessive form would be as simple as changing {p0,1} to {0,1}. I think this will simplify the translation - as there would be no need to modify the VBScript code.
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 8:09:39 AM
GenoPro Version: 2.0.1.6
Posts: 552,
Visits: 7,292
|
|
GenoProSupport
In the future, I am planning to improve the phrase generator to have a built-in possessive set of rules and a new tag syntax such as: | Report.WritePhrase "{p0,1}", "Dan", "car" |
Such a phrase would produce the following output: "Dan's car". In French, the code Report.WritePhrase "{p0,1}", "Dan", "auto" would produce "L'auto de Dan". Using this new improvement, removing the possessive form would be as simple as changing {p0,1} to {0,1}. I think this will simplify the translation - as there would be no need to modify the VBScript code. What a great idea!! This way I'm sure there won't be any code changes!
|
|
|
|
|
Forum Writer
      
Group: Customers
Last Login: 7/3/2007 11:33:58 AM
GenoPro Version: 2.0.1.5
Posts: 58,
Visits: 190
|
|
First of all I'll thank Dan for pm's and emails. I feel very motivated in translating as well as generally helping to improve the new report generator.
I did some changes to the phrases, too, as the originals weren't very natural translated in Finnish. Especially phrases for Education and Occupation were difficult. In general I had to add additional full stops mostly because of lack of ways to inflect nouns in proper way, for example "Perttu was born 1-2-2003 in Alavus" had to be divided into two sentences because there was no way to inflect place name Alavus -> Alavudella, and I had to go around the problem by saying "Perttu was born 1-2-2003. Birth place was Alavus." so that I didn't need to inflect it.
I have discussed with Dan by email about some grammatical issues that are necessary especially for languages not so closely related to English. For example in Finnish there are several (14) *cases* how a noun is inflected in different situations. Let's pick a noun like hat - hattu. Different *cases*: hattu, hatun, hatussa, hatusta, hattuun, hatulla, hatulta, hatulle, hatuksi, hattuna, hatutta, hattua... (I can't even remember all of them). Most of them are not necessary in report generator but the nominative (hattu), genetive (hatun), and partitive (hattua) are the most important. The rest are essive, translative, inessive, elative, illative, adessive, ablative, allative, abessive, komitative, and instruktive. (Don't ask me which is which, I don't remember )
Personal Pronouns and their inflection in various cases would be needed, too.
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517,
Visits: 14,852
|
|
Rjn For example in Finnish there are several (14) *cases* how a noun is inflected in different situations. Let's pick a noun like hat - hattu. Different *cases*: hattu, hatun, hatussa, hatusta, hattuun, hatulla, hatulta, hatulle, hatuksi, hattuna, hatutta, hattua...A section describing the rules for possessive names would be a good solution. In that section, you could write 14 rules for each of the 14 cases. The question remains... What are the criterias for the rules? EndWith - The noun ends with a given string.
Pattern - The noun matches the pattern. For performance reasons, the pattern won't be a regular expression, but simple wildcards such as * and ?. For instance, any noun starting with the letter "A" would have the pattern "A*" or any noun ending with "s" could have the pattern "*s".
EqualTo - The noun matches exactly the given string. This would be good for a very specific exception.
Operations:
ReplaceWith - Replace the noun with a given string.
Append - Append a string to a given noun.
Anything else missing?
|
|
|
|
|
Forum Writer
      
Group: Customers
Last Login: 7/3/2007 11:33:58 AM
GenoPro Version: 2.0.1.5
Posts: 58,
Visits: 190
|
|
Sounds good.
EndWith is definitely a must and the other criterias might be handy, too. I'll try to think of any situation that could require more.
(I'm sorry it may take quite a long time for me to react to anything this week because I'm at my parent's place running Win98 @ 200 MHz Pentium with 33k modem ... I'll be better available next week)
|
|
|
|
| | |