GenealogyJ Forum Index GenealogyJ
Discussions
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups  DigestsDigests   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

translation of KML erport

 
Post new topic   Reply to topic    GenealogyJ Forum Index -> Dev - Report Writing
View previous topic :: View next topic  
Author Message
jo pol



Joined: 07 Sep 2008
Posts: 92

PostPosted: Fri Sep 11, 2009 12:31:49    Post subject: translation of KML erport Reply with quote

The KML reports are ready to translate. Users can translate the labels in the report on the report options tab. This complicates testing a little for translators. You won't the the result of a new version of the properties files unless someone implements a restore defaults, or you remove the lines that start with "geo.ReportKML" from the file <path-to>/GenJ/genj-reports.properties
The hint is also in the comment lines of the properties file.

An example of the report can be found on http://maps.google.com/maps?&q=http://fam-pol.wikispaces.com/file/view/map.kml&ll=52.1,5.4&z=7
Back to top
View user's profile Send private message
jo pol



Joined: 07 Sep 2008
Posts: 92

PostPosted: Wed Sep 16, 2009 13:25:40    Post subject: Reply with quote

Hi Francois, (and Nils)

I saw you commit comment:
Quote:
but there are sentences displayed not available in the resource file. I'm gonna wait to go further

which (kind of) sentences do you mean?

Phrases in the balloons (and the dates!) depend on the general language settings, not the report properties, for example marriage and birth. I rather would have used the symbols but don't know which method does that job. I still did not manage to run in eclipse with a Dutch setting so my own sample has the wrong date format too. I'm afraid something has to be redesigned to have consistent flexibility. But I don't have very much energy left currently so don't hold your breath.
Back to top
View user's profile Send private message
jo pol



Joined: 07 Sep 2008
Posts: 92

PostPosted: Tue Sep 29, 2009 12:49:29    Post subject: Reply with quote

update:

I've been able to generate a full Dutch KML report and French should be possible too.

To enable Dutch for /Geo/src/tst/genj/geo/App.java
I added the file /Geo/language/nl/genj/geo/resources_nl.properties and added it to the classpath. The french properties file already exsists but I had to add it to the classpath too.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GenealogyJ Forum Index -> Dev - Report Writing All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group