banana-i18n icon indicating copy to clipboard operation
banana-i18n copied to clipboard

Should Banana return the language that was selected?

Open davidbarratt opened this issue 6 years ago • 0 comments

The locale that is set is not necessarily the language of the message that is returned. It might be helpful to return the language that was selected (maybe a new method that returns an object consisting of the message text and the language the message is in?). This way the HTML lang attribute can be set appropriately. What do you think?

davidbarratt avatar Aug 14 '19 15:08 davidbarratt