L
L
lavezzi12015-03-20 16:47:01
CMS
lavezzi1, 2015-03-20 16:47:01

How is the language change implemented here?

What is the principle? Please explain in as much detail as possible. In my opinion, this is the simplest solution I have ever seen.
www.lesevades.com

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Zhak, 2015-03-20
@lavezzi1

The client-side is written using the AngularJS framework. There are many implementation options and they are all quite simple - two way data-binding solves.
The easiest way is jsfiddle.net/zhak55/319j3rdt/1

S
Saboteur, 2015-03-20
@saboteur_kiev

Here you can see only the frontend buttons on ajax.
How it is implemented in the site itself is unlikely to be known. What makes you think that this is the simplest solution? Just because it reacts quickly? This is an ajax plus, not a localization solution.
The question is where the locales are stored - in the sql / nosql database, in the configuration file, directly in ajax - is unknown.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question