Feature: Add Swiss backoffice localizations#2503
Feature: Add Swiss backoffice localizations#2503leekelleher merged 3 commits intomainfrom unknown repository
Conversation
To reduce lines of duplicated code, (from the German, French and Italian localizations), those localizations are imported at runtime.
leekelleher
left a comment
There was a problem hiding this comment.
@marwaldv Thank you for your pull request! 🙏
I've made a couple of amends to the pull request, firstly I added the localizations the manifest (to register them within the backoffice).
The second amend was that I'd noticed the Swiss German, French and Italian localizations were exact duplicates of the existing German, French and Italian localizations, effectively adding approx. 6,000 lines of code, so I opted to make use of the JavaScript approach and imported the native localizations, which can then be appended to if there are any future specific Swiss variations to the labels. To note, this approach would not be possible in the old backoffice (v13 and prior) due to the nature of using the XML format.
Thank you again for making this contribution. 👍
Add missing backoffice languages as properties etc. are translated via translation section (e.g. with "#Backoffice Settings"). I've been asked to add the swiss languages files here by @iOvergaard here umbraco/Umbraco-CMS#17177 (comment)