Got it working, but there were still some bugs. Finally i found the last changes which need to be done.
Beside of the fact that you need to change some files like:
core\shopware.js
and Defaults.php (change the system language to the proper one).
ENG = 2fbb5fe2e29a4d70aa5854ce7ce3e20b
DE = afbab23128a44b39be16583ef9d386fa
My core\shopware.js lookes like that (Defualt was EN, now its DE):
this.Defaults = {
systemLanguageId: 'afbab23128a44b39be16583ef9d386fa',
defaultLanguageIds: ['afbab23128a44b39be16583ef9d386fa'],
versionId: '0fa91ce3e96a4bc2be4bd9ce752c3425',
storefrontSalesChannelTypeId: '8a243080f92e4c719546314b577cf82b',
productComparisonTypeId: 'ed535e5722134ac1aa6524f73e26881b',
apiSalesChannelTypeId: 'f183ee5650cf4bdb8a774337575067a6'
};
Defaults.php is now
public const LANGUAGE_SYSTEM = 'afbab23128a44b39be16583ef9d386fa';
After that search for your languages in mysql …
SELECT FROM language
Since you cant change the parent_id in phpmyadmin, you need to execute it directly like:
Deleting the parent id for DE so it doesnt inherit from EN.
UPDATE `language` SET parent_id = NULL where id=0xafbab23128a44b39be16583ef9d386fa
After that you need to inherit all other languages from your primary language (DE in my case):
UPDATE `language` SET parent_id =0xafbab23128a44b39be16583ef9d386fa where id=0x2fbb5fe2e29a4d70aa5854ce7ce3e20b
Deleting the cache and it should be working.