loading multiple language files from different languages |
[eluser]stef25[/eluser]
I'm using the i18n Internationalization language library from here which does a good job providing alternate language links. Example: if the current page is domain.com/en/news it provides a link to domain.com/fr/news But if I also wants "news" to be translated (so domain.com/fr/nouveautes), AFAIK I need another solution. I'd rather not store the translation of "news" in the DB but in a language file. If my current page language is "en" (domain.com/en/news) then the strings_lang.php file is loaded from the "en" folder. It seems to be impossible to also load the strings_lang.php file from the "fr" folder to get the FR translation of "news". For this particular project it's important for SEO reasons to have all segments in the URI translated. Is it possible to achieve this using language files? |
Messages In This Thread |
loading multiple language files from different languages - by El Forum - 03-22-2010, 10:23 AM
loading multiple language files from different languages - by El Forum - 03-22-2010, 03:03 PM
loading multiple language files from different languages - by El Forum - 03-27-2010, 02:20 PM
loading multiple language files from different languages - by El Forum - 03-27-2010, 02:25 PM
|