Get web UI language strings by rest call?

(Catfriend1) #1

Hi,

is it currently possible to download a “file” from the rest or plain http web UI interface of syncthing that contains all the UI language-specific strings? This would ease my life on the android wrapper as new web UI features mustn’t be translated a second time in the wrapper project. Android app could query the current OS language and download most of the required UI strings from syncthing core’s web UI.

Kind regards Catfriend1

0 Likes

(Audrius Butkevicius) #2

Yes, there are json files for each language, but only the html/js parts are translates. Nothing coming from go is.

You can see the urls being hit when the webpage is loaded in a foreign language in chrome developer tools.

0 Likes

(Catfriend1) #3

Thanks, I’ll check that out.

0 Likes