Welcome Guest, Not a member yet? Register   Sign In
How do you i18n?
#15

[eluser]Référencement Google[/eluser]
Quote:So what I’m asking is how do people cope with using basic strings like ‘Edit’, ‘Add’, ‘Delete’ etc. Do you use the CI language files or gettext?

I personally have a general_lang.php file with all the common stuff like that, and I autoload it for all the application. Then for module specific languages, I make a specific file like contact_lang.php for example.

I was either thinking to build a kind of "dictionary" in a DB table witch will store all words and phrases of the site, but I don't know if it will be a good thing, something like:

Code:
word_ID | lang_ID | alias | word


Messages In This Thread
How do you i18n? - by El Forum - 02-25-2008, 05:07 PM
How do you i18n? - by El Forum - 02-25-2008, 05:19 PM
How do you i18n? - by El Forum - 02-25-2008, 05:31 PM
How do you i18n? - by El Forum - 02-25-2008, 05:44 PM
How do you i18n? - by El Forum - 02-25-2008, 06:04 PM
How do you i18n? - by El Forum - 02-25-2008, 07:16 PM
How do you i18n? - by El Forum - 02-26-2008, 02:01 AM
How do you i18n? - by El Forum - 02-26-2008, 04:32 AM
How do you i18n? - by El Forum - 02-26-2008, 06:30 AM
How do you i18n? - by El Forum - 03-04-2008, 11:40 AM
How do you i18n? - by El Forum - 03-15-2008, 12:18 PM
How do you i18n? - by El Forum - 03-15-2008, 02:36 PM
How do you i18n? - by El Forum - 03-16-2008, 03:49 AM
How do you i18n? - by El Forum - 03-19-2008, 07:42 AM
How do you i18n? - by El Forum - 03-19-2008, 10:41 AM
How do you i18n? - by El Forum - 03-19-2008, 05:23 PM
How do you i18n? - by El Forum - 03-26-2008, 08:49 AM
How do you i18n? - by El Forum - 05-31-2008, 08:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB