How to do automatic translations?

0

I have a HTML page and would like to have it in several languages But did not want to make a page for each language and leave editing in HTML.

Is there any way I can do an external document , a JSON, I do not know where I only put translations and texts are updated automatically if the user wants?

I use bootstrap and angular on my site.

    
asked by anonymous 06.07.2017 / 13:59

1 answer

2

To angulate, there is a plugin called angular-translate that is great and is very fast for what it intend to do.

But there are easy modes yes, in addition to these plugins, there is a specification called i18n that aims to standardize this part of translations. You can find some of this here and there is also another project maintained by Mozilla , which is basically a framework called l20n that keeps localization in hand locators and translators, it can be used in any type of project.

Automatic updating and switching between files can be done by these frameworks, but you'll still need to translate your website into parts. It is also possible to use google translator to generate an instant translation, the work is minimal, but the result is not so good either ...

    
06.07.2017 / 14:29