|
|
Customers Important Contributors FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, March 21, 2021
Posts: 716,
Visits: 12,927
|
 Trying to generate a Japanese report from a gno file with English names using the NmeDictionary.xml files with some names entered such as
`N EN="Takahashi" DE="Takahashi" JA="高橋" /` `N EN="Chizuko" DE="Chizuko" JA="千鶴子" /` `N EN="Fujio" DE="Fujio" JA="富士雄" /` `N EN="Niels" DE="Niels" JA="ニールス" /` |
The error report looks as above. Need advice.
Edited: Thursday, March 6, 2008 by
maru-san
|
|
|
Gamma Moderators Administrators FamilyTrees.GenoPro.com Customers GenoPro version: 3.1.0.1
Last Login: Monday, May 12, 2025
Posts: 952,
Visits: 10,077
|
Can you post the file?Make sure the file is saved in UTF-8 encoding.
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, March 21, 2021
Posts: 716,
Visits: 12,927
|
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, March 21, 2021
Posts: 716,
Visits: 12,927
|
Worked on this issue for some time now and went back to square one with regard to original files, except for the dictionary.xml(ja) and NameDictionary.xml files. The message is now "No entries" in the NameDictionary file. The only function there works with lang_B, but not with place and name look ups.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:52 PM
Posts: 3,428,
Visits: 26,565
|
If you are getting the 'No entries' message then I guess you are using version 2.0.1.5RC2, where I tried to tighten up the NameDictionary error handling. Unfortunately my test NameDictionary.xml was in the wrong format, missing the Names element, so line 473 of Init.htm is wrong Set oNode = oXmlNam.selectSingleNode("NameDictionary/N[1]") | should be Set oNode = oXmlNam.selectSingleNode("NameDictionary/Names/N[1]")
| Apologies for any inconvenience. If this fixes it then I'll put out a new version. Update I have now tested this by using your NameDictionary with Jean-Claude's correction (and an occurrence of 'en' to 'EN') and setting Language to 'JA' in Config.xml and adding test data to HarryPotter, giving James Potter a middle name of Nomura and an occupation of barber in Japan. Ran report setting the 3 language config options to 'EN' (we are translating from English) and got: 
Q.E.D.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Friday, March 7, 2008 by
Ron
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:52 PM
Posts: 3,428,
Visits: 26,565
|
p.s.My reports use the MS XML parser so you can validate whether or not your .xml will load properly in the report by opening it with IE, which uses the same parser. Doing this with tour original NameDictionary.xml shows up the error.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Customers Important Contributors FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, March 21, 2021
Posts: 716,
Visits: 12,927
|
Thanks for solving this. It works. Important hint was to enter the "from Language" and not the target language.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:52 PM
Posts: 3,428,
Visits: 26,565
|
Yes. I can assume that the target language is the same as the skin (from Config.xml) but I can make no assumption as to the language that has been used to enter the data in GenoPro, hence the script needs to ask for it in order to provide the translation.I will change the dialog text to make this clearer.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Important Contributors FamilyTrees.GenoPro.com Customers Translator GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
|
Hi, For info, I would like to pinpoint the following: Dan lately made a silent update in adding birth option menus for Sylviane. With this version, I extracted the Custo Nar EN skin and discover that the Ron's modifs RC... are not there. 10 files are actually different, reported by my util compare software. So we now have, in a way, 2 versions available! To me it's a bit dangerous and confusing as, if a user reports a bug, Genopro may not be certain of which version the said user worked with? I believe we should all be in the same 'wave length'. I therefore kindly suggest that a better close cooperation takes place in-between Genopro and Ron and that any modif brought up by Ron to also be included in any 'silent' update. Or possibly a simple new revision? JC
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: Yesterday @ 8:52 PM
Posts: 3,428,
Visits: 26,565
|
Generally I prefer 'Release Candidates' of skins with more than trival changes to get some exposure from experts such as yourself on this forum before releasing it 'in the wild'. I let Dan know when I feel a new version is ready for general release. There are a few more tweaks, including your last request, before I am happy for it to be released generally.So Dan could release versions in parallel with the report RCs, as is the case now. I feel this is the best approach to miminise the chances of a bug in new code affecting a large number of users.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|