Change language in config.php dynamic [RESOLVED] |
[eluser]ELRafael[/eluser]
[quote author="xwero" date="1194288743"]It doesn't makes much sense that the auto loaded files don't change if you change the language then what is the point of having different directories? so following the user guide you would have to have en_app_lang.php and br-pt_app_lang.php in both directories? With the lang->load method it should be possible to overwrite the autoloaded stings but that doesn't work either. It seems like the autoloading of languages files could need some more work.[/quote] so following the user guide you would have to have en_app_lang.php and br-pt_app_lang.php in both directories? NO. The structure is that: system/application/language/en/app_lang.php system/application/language/it/app_lang.php system/application/language/pt-br/app_lang.php one dir for each language. i copy this structure from bambooinvoice. and, to me, is fine! I agree that makes no sense autoload. But worked (thanks God and Daileon). If you wanna see the result (in fact, i'm making this personal app for a future video tutorial), http://projetos.elrafael.net/videos To all that helped, thanks a lot! maybe someday i'll pay a true brazilian beer! |
Welcome Guest, Not a member yet? Register Sign In |