cigma wrote: ↑04 July 2022, 01:53
Een wrote: ↑15 June 2022, 08:55
There is one translation context per game and one translation context for the mainsite.
So it's currently not possible to have two different translations for two identical strings on the mainsite.
I have found out that there are two text modules with the identical string "Translate Board Game Arena", one has only Translationhq as context, the other has Translationhq and Translation as context. It looks like they can be translated differently. Now I am wondering if this contradicts what Een has said. Maybe one of these text modules is not used, and Een refers only to active text modules?
No contradiction, just some confusion about semantics
Context as provided under the string in the translation module is there to help translators choose the right translation according to the context(s) where the string is used used (basically, it gives an indication about the page where this string displays). It's just informative.
Context as I mentioned is the technical context used for translation files using gettext (
https://www.gnu.org/software/gettext/), and it's not linked to the informative contexts displayed in any way. We have one for the mainsite, and one per game ; we have no plans currently to split the mainsite context into multiple separate contexts as it would be challenging and collisions have been rare.