Files
Umbraco-CMS/tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/Importing/Dictionary-Package.xml
Kenn Jacobsen 8caee5297b Use ISO codes instead of language IDs for fallback languages and translations (#13751)
* Use language ISO code for language fallback instead of language ID

* Remove language and language ID from dictionary item and dictionary item translation

* ADd unit test for dictionary item translation value extension

* Make the internal service implementations sealed

* Rename translation ISO code to be more explicit in its origin (Language)

* Add breaking changes suppression

* Handle save of invalid fallback iso code

* Fixed test

* Only allow non-UserCustomCulture's

* Fixed and added tests

* Rename ISO code validation method

* Fix language telemetry test (create Swedish with the correct ISO code)

---------

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2023-02-01 09:37:37 +01:00

24 lines
909 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<umbPackage>
<files />
<info>
<package>
<name>Dictionary-Package</name>
</package>
</info>
<DictionaryItems>
<DictionaryItem Key="28f2e02a-8c66-4fcd-85e3-8524d551c0d3" Name="Parent">
<Value LanguageCultureAlias="nb-NO"><![CDATA[ForelderVerdi]]></Value>
<Value LanguageCultureAlias="en-GB"><![CDATA[ParentValue]]></Value>
<DictionaryItem Key="e7dba0a9-d517-4ba4-8e18-2764d392c611" Name="Child">
<Value LanguageCultureAlias="nb-NO"><![CDATA[BarnVerdi]]></Value>
<Value LanguageCultureAlias="en-GB"><![CDATA[ChildValue]]></Value>
</DictionaryItem>
</DictionaryItem>
</DictionaryItems>
<Languages>
<Language Id="2" CultureAlias="nb-NO" FriendlyName="Norwegian Bokmål (Norway)" />
<Language Id="3" CultureAlias="en-GB" FriendlyName="English (United Kingdom)" />
</Languages>
</umbPackage>