'Current language' field for translator object
Closed this issue · 1 comments
Forevener commented
Could you make translation_language field of a translator object public again, please? Or make a corresponding function.
dokato commented
Good point @Forevener. In theory this is redundant, because by default you use "key translation", then you may change you language with set_translation_language
method, so you know explicitly with what language code you're dealing with. But it doesn't harm to have getter for that.
This option is available with get_translation_language
, check github installation.