banana-i18n
banana-i18n copied to clipboard
Should Banana return the language that was selected?
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?