Hi,
I find your work very helpful.
I am running an EchoLink Simplex Node (DQ4T) for our local Amateur Radio Club. As you probably can imagine, our members would like to have the announcements in German. Changing the default language alone is not enough, the German language has some peculiarities when it comes to quoting numbers. Also we use the 24 hour clock. Some people have changed the .tcl programs to correctly spell the time in German, but I have not found a way to insert this program snippet into the framework without being eliminated on the next “recompile” action. Any ideas?

Hi Aaron,
thanks for your speedy reply.
The modified file is located in /usr/share/svxlink/events.d/local, is called locale.tcl. File size about 5 K. Can I just paste it in this window or is there a feature to upload a file?

I just wanted to confirm you meant:
/usr/share/svxlink/events.d/local/locale.tcl

and not
/usr/share/svxlink/events.d/local/Logic.tcl
This file is modified by ORP.

The path for the locale.tcl above doesn’t exist on ORP by default. There is a locale.tcl in the directory above that though. If it is the Logic.tcl file instead that is modified by a PHP class, so you may need to modify that. If it is a locale.tcl file then we will need to figure out how that would be implemented.

73,
Aaron – N3MBH

OpenRepeater is offered free of charge. Find out how you can support us.

Just to clarify, usr/share/svxlink/sounds/de_DE contains the German sound files, they are not renamed to German, but retain their original English names, just the contents is German. There are some files with German names when there is no English equivalent like “Uhr”.

OK, the “/usr/share/svxlink/events.d/local/locale.tcl” is not written to by ORP so that should remain unchanged. If you look at the “/usr/share/svxlink/events.d/local/Logic.tcl” in the same folder, that gets written to by ORP. Any TCL or CONG files that get written to by ORP should have a custom comment headers at the top stating so. Take a look at the Logic.tcl in that folder or the svxlink.conf file and you will see what I mean.

My guess at this point is ORP is not breaking your locale.tcl file as it should not be writing to it. I have not used it before, so I don’t know off hand if you have to declare the file in a different file like svxlink.conf that does get overwritten by ORP.

I would imagine that you are changing your DEFAULT_LANG in the svxlink.conf from “en_US” to “de_DE”, in that case, yes that would get overwritten by ORP. 1) you could modify the PHP class that writes this as the language is currently hard coded. This is located at “/var/www/openrepeater/includes/classes/SVXLink.php”. There are two occurrences of “en_US” in this file that would need replaced. 2) A simpler alternative that should work is to just rename your language sound folders. Maybe change “en_US” to “en_US_orig” and change “de_DE” to “en_US”

Let me know where that gets you.

73,
Aaron – N3MBH

OpenRepeater is offered free of charge. Find out how you can support us.

Glad to hear and thanks for reporting back so others that wish to do the same know how.

At some point, I would like to make language switching a part of the UI, but it will still require some level of customization and obtaining/creating the appropriate language packs and maybe modifying some localization settings, so that is one reason that it’s not on the top of the list. Then there is adding translation options to the UI as well which is a whole other animal. Having been trying to work that way slowly such as separating the back-end functions from the front end code…is a progression for sure.

73,
Aaron – N3MBH

OpenRepeater is offered free of charge. Find out how you can support us.