The syntax of locale
-
Hi!
I would like to try out the swedish translation (thanks @Crille ). I have tried to edit my reactor.yaml file in many ways, but the translation don't show up. I have done a browser hard refresh every time. Where do I go wrong? Here's my latest try:- id: reactor_system enable: true implementation: SystemController name: Reactor System config: # # The update_interval can be set lower for more frequent updates. The default is 60 # seconds, which is probably fine for most cases, but causes the 15-second load av- # erage to be inaccurate (the first value in reactor_system.system_load). If you # don't care about the 15-second load average, then the default 60 seconds is fine. # This value is expressed in milliseconds. update_interval: 60000 locale: sv-SE #
What's the correct syntax, placement and intendention?
Thanks!
/Fanan -
Hi!
I would like to try out the swedish translation (thanks @Crille ). I have tried to edit my reactor.yaml file in many ways, but the translation don't show up. I have done a browser hard refresh every time. Where do I go wrong? Here's my latest try:- id: reactor_system enable: true implementation: SystemController name: Reactor System config: # # The update_interval can be set lower for more frequent updates. The default is 60 # seconds, which is probably fine for most cases, but causes the 15-second load av- # erage to be inaccurate (the first value in reactor_system.system_load). If you # don't care about the 15-second load average, then the default 60 seconds is fine. # This value is expressed in milliseconds. update_interval: 60000 locale: sv-SE #
What's the correct syntax, placement and intendention?
Thanks!
/Fanan -
@fanan Just browse to http://[reactor_ip/reactor/sv-SE/]
If you really want to do an override in the yaml it's under thereactor:
key in the beginning of the file, then restart Reactor. -
It decides what locale to use when you go to
http://reactor-ip:8111/reactor
with no language code after... it redirects at that point. If you're already onhttp://reactor-ip/reactor/en-US/
(with language code) and refreshing, you're going to keep getting en-US.Ideally, you should not use the override config. The documentation is pretty clear on this. The correct way is to configure both your browser and the host system for your correct locale.
-
T toggledbits locked this topic on