I am building a site using Cockpit that requires two different languages. But there are few things that I don’t like.
Default language is without identifier. Why wouldn’t we set everything by default on the first language (that is in the list/marked as default in config), and postfix every field with this default language, and get rid of the Default language.
If I translate only in my desired languages, but not default, admin table views might be empty.
You could modify it a bit to your needs and create custom views…
date formats use moment.js and can be adjsuted with https://momentjs.com/docs/#/i18n/
The labels are harder, but possible, too.
A start could be to display the user language in the entries table view by default. Add options.lang = App.$data.user.i18n; to: