Skip to content

why not dependent language package? #2

Open
@PrakashThapa

Description

@PrakashThapa

Hi,
you have written that in fact


Based on Magento2_German_LocalePack_de_DE from Splendid Internet GmbH & Co. KG

But I did not understand why did you copied everything but not using dependent language package? Is there any special reason? It would be more easier just to put changed text then just copied everything.

for example, I want to modify your translation only for some text I will use like this in language.xml file :

<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
    <code>de_CH</code>
    <vendor>myvendor</vendor>
    <package>de_ch</package>
    <use vendor="staempfli" package="de-ch"/>
</language>

and put de_CH.csv file only changes than your text.
Theoretically it should work according to the documentation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions