Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14353

Creating multilanguage site

$
0
0
Hi!

I'm familiar with lang helper and lang library, but I was wondering if there is a better way to do this. I don't really like the fact, that my views are a bunch of html code containing nothing but variables.

Is there a solution where a view would contain actual text and the CI would recognize that text when loading the view and changed the text according to user language setting? I know I could create multiple versions of the same view (one for every language), but that would mean making changes to the same html code in multiple places, which is again a bad idea.

Thank you!

Viewing all articles
Browse latest Browse all 14353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>