rejetto forum

A lightweight tool for webpage (template) client side localization

0 Members and 1 Guest are viewing this topic.

Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 134
  • Computer brained boy
    • View Profile
I made a new i18n tool with pure JavaScript: https://github.com/NaitLee/i18-N.js-Lite

You can use this to localize your webpage or template easily.
Just define some languages in your page and include the script. See the example at readme.md.
Even a single page of .html is fine. You can copy-paste all the script into a <script> tag.

Any requests please report :D
Busy in school until late June, 2021.
Check out my template ;)


Offline dj

  • Tireless poster
  • ****
    • Posts: 267
  • 👣 🐾
    • View Profile
    • PWAs
my method for translation
in 2.4 translation (and in another project)

Update: I saw, the nodes are automatically translated. Great.
I implemented my own version in my configurator
« Last Edit: November 10, 2020, 10:27:08 AM by dj »


Offline Brandonatrog

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
Check the version of the javascript your implementing in your header. You could compare your website header with the header off the nivoslider template. Copy/Paste all, change the CSS ofcourse...

Warning :
if you keep changing the title of your answers to an empty field, forcing me to correct them, I will end up seeing them as spam and having to throw your answers in the trash without notice.

Mars
« Last Edit: January 01, 2021, 09:14:06 PM by Mars »