diff --git a/languageSelect/README.md b/languageSelect/README.md new file mode 100644 index 0000000..6d7de53 --- /dev/null +++ b/languageSelect/README.md @@ -0,0 +1 @@ +This functionality can be applied for any text on the page, but would require readily available translated texts, saved in 'languageContent' with the relevant keys. Those keys must be used as id in html layout to access them. \ No newline at end of file diff --git a/languageSelect/index.html b/languageSelect/index.html new file mode 100644 index 0000000..fedac94 --- /dev/null +++ b/languageSelect/index.html @@ -0,0 +1,39 @@ + + + + + + Document + + +

Switching the language of web page using JavaScript

+
This is a sample content
+
English
+
+ + + +
+ + + \ No newline at end of file