It is currently Sat Nov 26, 2011 8:22 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Labels and stuff (translations)
PostPosted: Mon Feb 08, 2010 7:49 pm 
Offline

Joined: Thu Apr 09, 2009 10:34 am
Posts: 28
Hi,

Is it possible to suggest new ways of handling text for the translations? I just did the Norwegian one, and it would have been heaps easier if I had something like: "Will air on %s6". Working with stuff like "Will air on" + "the day after tomorrow" and such is hard as some languages don't have good translations for some strings. Also, it would be a lot easier to see what the outcome of the translation would be.

Example: In Norwegian, we don't use capital letters for week days (unless they start the sentence). One of the items to translate was "Wednesday", which made me realize I had to check the whole program to see if I found any "Onsdag"s in the middle of sentences, which would have been an error.

See my point?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 08, 2010 9:04 pm 
Offline
Lead Developer
User avatar

Joined: Mon Jan 16, 2006 4:11 pm
Posts: 645
Location: Netherlands
Good suggestion. There is some history here, we just started translating the way it is now, but it turns to be quite a hassle. Some strings are made up of three parts just because we need to insert two variables. And coding with it is a pain in the ass too, we always forget spaces and other signs.
I will add it to the roadmap for 0.98.

_________________
Roel

i watch: simpsons, south park, lost, top gear, true blood & fringe
download - documentation - bugs/feature requests - sourceforge -


Last edited by roel on Mon Feb 08, 2010 10:49 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 08, 2010 9:53 pm 
Offline

Joined: Thu Apr 09, 2009 10:34 am
Posts: 28
Cool! Just make sure you make the table of strings that will be replaced, and be sure to include, for %s, %s (lower case first letter), %S (capital first letter), %s! (string.toLowerCase) and %S! (string.toUpperCase. Should be pretty straight forward to parse that and make it a blast to translate into just about any language.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group