You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't have much to translate, so I think we should add as many languages as possible (and invite people to contribute translations) and use the browser's preferred language as default.
One thing we'd need to do is decide how to treat error messages from core, because if we only emit translation IDs from there, then app developers not using the widget have to handle those as well.
Idea on IRC just now was to create a seperate npm module for the translations, which we can use in the widget, but which app developers can also use for their own UI.
We don't have much to translate, so I think we should add as many languages as possible (and invite people to contribute translations) and use the browser's preferred language as default.
Detecting the preferred language can be done like this: https://github.com/skddc/webmarks/blob/7fc8a928452418111475141bb04a90e0b54f67fc/app/instance-initializers/i18n.js#L17-L24
What do you think?
The text was updated successfully, but these errors were encountered: