Closed Seniru closed 3 years ago
There are actually some issues with player.community
and player.language
- which is that they are room dependant according to the following:
[room name] community-language
[*#test] e2-en
[•] You're now on the [Portugais_Brésilien] community.
[*#test] br-br
[•] You're now on the [Anglais] community.
[br-#test] br-br
[es-#test] es-es
And therefore normal players couldn't get the correct translations, which makes adding new translations kind-of useless (for now)
So it' s clear that we can't do anything to this issue too... will be closed until transformice itself fixes this issue
Reopened because the language issue has been fixed.
Currently the module uses the
community
field of players and room to offer translations to the player But with a new update of transformice, the new fieldlanguage
was added to both player and room. The structure looks as belowsFull structure of
tfm
:language
field instead ofcommunity
in translationstranslate
function