TerriaMap icon indicating copy to clipboard operation
TerriaMap copied to clipboard

Where are the languageOverrides in other languages?

Open irbian opened this issue 1 year ago • 2 comments

Please, correct me if some of the next points is false

  • languageOverrides is the proper way to translate the terriamap interface. There is no translation.json. Texts exclusive for the interface are there and only there
  • There is no default translation for other languages different from english. Is my responsability to implemente it
  • There is no connection to weblate

Did I miss something? Any plan to support this?

irbian avatar Jun 06 '24 09:06 irbian

Hi @irbian. Most of the strings in Terria's UI are set and translated within TerriaJS/terriajs and connected to weblate. There are some strings in TerriaMap's languageOverrides.json - I think these are all strings that are only referred to in TerriaMap's default config.json. There are no translations to other languages available for these strings, and no connection to weblate to be able to easily translate them.

TerriaMap's languageOverrides.json file is meant to provide an easy way for map owners to override translation.json for some strings in their map. I don't think it's a good place for these default config.json strings. Maybe these default strings could be moved from the TerriaMap's languageOverrides.json to translation.json files in the terriajs repository so that they can be translated easily.

tephenavies avatar Jul 05 '24 06:07 tephenavies

Maybe these default strings could be moved from the TerriaMap's languageOverrides.json to translation.json files in the terriajs repository so that they can be translated easily.

I guess the problem is that it's not adequate to have translations in terriajs that belong to terria-map, but being the case, maybe the best is to do an exception?

irbian avatar Sep 20 '24 13:09 irbian