php - Multi Language Support for a website -


I am using HTML / PHP / jQuery for a web site developed for a company. He requested to add multi-language support to his web site.

I am trying to find out what will be the best way to achieve it (or best practice method) because I believe there are many different ways you can do this.

I have found a site with a tutorial;

It uses PHP with sessions.

Would it be a good way to do this or what would be better ways?

Just to add, there are 30 pages on the company's website and approximately 200-300 words per page.

I will not use a url querystring parameter individually, as part of the URL I Cleaner like, for example:

or

Then on top of this I get unix gettext translation style that I think supports PHP -

When you go to the javascript side of things, it is a bit more of a pain, but there are similar adaptations for it.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -