Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why not dependent language package? #2

Open
PrakashThapa opened this issue Jan 3, 2017 · 0 comments
Open

why not dependent language package? #2

PrakashThapa opened this issue Jan 3, 2017 · 0 comments

Comments

@PrakashThapa
Copy link
Contributor

PrakashThapa commented Jan 3, 2017

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.

@mhauri mhauri self-assigned this Jan 5, 2017
@mhauri mhauri added the question label Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants