the best way to make codeigniter website multi-language. calling from lang arrays depends on lang session?

后端 未结 11 1103
情深已故
情深已故 2020-11-27 10:34

I\'m researching hours and hours, but I could not find any clear, efficient way to make it :/

I have a codeigniter base website in English and I have to add a Polish

11条回答
  •  忘掉有多难
    2020-11-27 11:15

    I've used Wiredesignz's MY_Language class with great success.

    I've just published it on github, as I can't seem to find a trace of it anywhere.

    https://github.com/meigwilym/CI_Language

    My only changes are to rename the class to CI_Lang, in accordance with the new v2 changes.

提交回复
热议问题