Thanks for the contributions I've received so far for localisation
strings for the web interface.  I currently have NL, and SV versions of
the strings file.  I'm hoping for some more contributions please....

To help I thought I'd explain how to test the new strings files.  You
can do this on a CSOS device or on another machine:

1) install luajit and turbolua (no need to do this on CSOS)

2) check out the latest version of the web interface using git:
git clone https://github.com/CommunitySqueeze/squeeze-web-gui-lua.git

3) stop the existing web interface if running (only on CSOS)
sudo killall luajit

4) run the web interface manually:
cd squeeze-web-gui-lua
./squeeze-web-gui.lua

5) check the strings for a language against the EN ones (in this case
for DE):
./squeeze-web-gui.lua --strings DE

6) to check for missing strings (in this case for DE):
./squeeze-web-gui.lua --missing DE

To create a new string file:

1) create new string files in as squeeze-web-gui/Strings-XX.lua, where
XX is the language name

2) edit squeeze-web-gui.lua to add to the language table on line 56


Please post new strings files here or mail them to me.  Please check
they work ok first and that you have html escaped special characters or
encoded the file correctly.  I would like to make sure new string files
pass the --missing test before including them.


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=99395

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to