Multilingual website using translation

I have a website in PHP (solution in JAVA is also welcome) & I want to add multilingual support in my website. Strict specification is that when user wants to change language of the page it would get translated dynamically. I am not suppose to make N no. different of pages for different language. Is it possible ? If Yes how? I have gone through few plugin & web service such as Microsoft but they charge heavily that's why I want to do it on my own.

Answers


you could use a frontend translation tool such as https://localizejs.com/ (there are others); there you can add languages on the fly and as long as no human translations are available, the tool would use something like Google Translate as a fallback


Need Your Help

JUnit testing with threads - testing executor behaviour

java multithreading junit

Consider this test class, if you run the main method the process will not complete for 5 minutes, if you run the test it succeeds immediately. Is there any recommended approach for validating Exec...

Setting up a POST Web API Method?

asp.net web-services rest asp.net-web-api azure-mobile-services

I need to set up a Web API Method to accept POST parameters sent from my Android and iOS Client apps. This is what I have now: