Quoting Lars Hamren <[EMAIL PROTECTED]>: > Hi, > >> Just curious, what is lacking or not appropriate in Wt's xml-based language >> translator mechanism? Or you simply prefer another (commonly used) >> tool/library ? > > I prefer to use a table in en SQL table to hold all translations. > This makes for easy insertion and update, and is application > independent. > > Also, I am less than enthusiastic about XML, which may > be convenient for computers, and possibly programmers, but which > is not easy to read or write, compared to text files with more > traditional layout.
I see a number of problems with that approach but it's probably because I'm missing details about what you do with your translations database: - Not all applications need a RDBMS. Having a database only for translations is inconvenient. - With applications like KBabel or KAider (there are probably others), the string list is shared (as translation hints) among all the installed applications, so translating a new application (i. e. creating the .po file) does not imply starting from scratch. It would be nice if support for the Wt XML format would be added to these applications, or maybe to Qt Linguist. - Two strings worded the same in the original language may need a different translation, depending on the context. Extracting a translation from a database with just a SELECT translation FROM lang1_to_lang2 WHERE str="original string" may return a completely wrong translation. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
