php - Simple HTML site localization using with specific language routes -


i want translate simple html site 2 languages, have opted duplicate site , put each copy in "language directory" follows:

en/page.html es/page.html 

i feel i18next library useful (for i've read), keep urls in previous case 1 version of file , don't see way achieve such library.

is possible? need use node express achieve this? or use php solution?

thanks further answers.

thanks

i think php solution more better javascript. php multilanguage support check gettext, below few links understand

http://www.gnu.org/software/gettext/

https://blog.udemy.com/php-gettext/

complete example of gettext in php

http://blog.lingohub.com/2013/07/php-internationalization-with-gettext-tutorial/

google search: (php gettext tutorial)

wordpress use gettext libraries , tools i18n.

http://codex.wordpress.org/i18n_for_wordpress_developers


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -