after use Player.request_translation, if we could know what language is request or what language is use by requester player ?
I don't know is possible but for example me I'm French if I can know my language is "fr" in game, that would be complementary of Player.request_translation
in the player instance:
Code: Select all
Player.language_tag :: string
Code: Select all
player_index :: uint
localised_string :: LocalisedString
language_tag :: string
result :: string
translated :: boolean
actualy:
Code: Select all
global.user1[localised_string]=en_translated_string
global.user2[localised_string]=en_translated_string
global.user3[localised_string]=fr_translated_string
Code: Select all
global.en[localised_string]=en_translated_string
global.fr[localised_string]=fr_translated_string