Welcome Guest, Not a member yet? Register   Sign In
*idea* - Translation system *idea*
#3

[eluser]Silviu[/eluser]
The idea is that the strings are read from a language file (as CI does now). Only when a string is missing from that file the database is updated and the language files are overwritten with the new database content.

Second, by using translate('some string'), you will give a text to be translated. This text will also act as fallback if either the text is missing or if the translation for a particular language is missing.

I was thinking on checking against a null value to see if a text was translated into a particular language, I'm not sure if a "translated" flag is needed for a language (easy to add though)


Messages In This Thread
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 09:16 AM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 11:26 AM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 12:24 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 01:12 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 01:35 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 01:45 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 01:50 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 01:54 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 02:02 PM
*idea* - Translation system *idea* - by El Forum - 06-09-2011, 02:07 PM
*idea* - Translation system *idea* - by El Forum - 06-10-2011, 01:25 AM
*idea* - Translation system *idea* - by El Forum - 06-10-2011, 08:37 AM
*idea* - Translation system *idea* - by El Forum - 06-10-2011, 09:39 AM
*idea* - Translation system *idea* - by El Forum - 06-10-2011, 10:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB