From: Blaise D. <bl...@as...> - 2010-08-26 10:00:10
|
Hi, > I'm not very experienced translating software, but a while ago I used http://translatewiki.net - it makes translation for software projects quite easy. I don't know how to add a project there, I just did some translations for a MediaWiki extension. > Maybe one of you can give it a try? > I'll be happy to assist translation into German at any time, for me excel sheets or text files are fine, too. > The problem I see is more related not to the menu items and messages, but to some localisation questions. In English, there are different formats for numbers, e. g. 2.5 in English is 2,5 in German (and Spanish as well I believe). There is many way to make a multi language website using constant, variable, Arrays, database, XML files, ... In all case there is a "Key" that is used for the translation. For example : $DailyTimesheet = "Daily Timesheet"; $Reports = "Reports" ... or define("DailyTimesheet","Daily Timesheet" ) ; define("Reports","Reports" ) ; All of this will be included in language files like fr.inc, en.inc, de.inc, ... So I think that the first thing to do is to defines the "Keys" and with time modify the code of Timesheet Next Gen to include this and also define what would be implemented for this on the code. I would propose to use Variables, Constants or Arrays for this. XML will also work but is a little bit more complicated because you manage the translations on the same files and need an additional library to do the job. The database is not an option on my point of view because it will cause many and many query per pages, ... But we can use a database to generate the translations, ... Best regards Blaise Drayer |