webidea / mage2-locale-de-ch
German (Schwitzerland) language
Package info
github.com/webidea24/Magento2_German_LocalePack_de_CH
Type:magento2-language
pkg:composer/webidea/mage2-locale-de-ch
Requires
- magento/framework: ^100.0.0 || ^101.0.0 || ^102.0.0 || ^103.0.0
This package is auto-updated.
Last update: 2026-05-13 07:30:51 UTC
README
Deutsches (Schweiz) Sprachpaket für Magento 2 Community Edition (Version 2.3.2)
Die Übersetzung wurde von deutschen Muttersprachlern nach eigenem Ermessen vorgenommen. Die Übersetzung ist komplett, d.h. alle Sprachausgaben von Magento 2 wurden vom Englischen ins Deutsche übersetzt. Gern können Änderungsvorschläge eingebracht oder auch das gesamte Repository geforkt werden, wenn abweichende Übersetzungen eingebracht werden sollen.
Installation
- Alle Dateien nach
/app/i18n/webidea/de_CH/kopieren
Aus dem Magento-Root-Verzeichnis folgende Befehle aufrufen:
rm pub/static/frontend/Magento/luma/de_CH/js-translation.json php bin/magento setup:static-content:deploy -f de_CH php bin/magento setup:upgrade rm -rf var/di php bin/magento setup:di:compile
Installation mit Composer
composer require webidea/mage2-locale-de-ch rm pub/static/frontend/Magento/luma/de_CH/js-translation.json php bin/magento setup:static-content:deploy de_CH
Add new phrases
To translate new phrases follow these steps:
Get phrases from Magento
Run this in your Magento 2 installation:
php bin/magento i18n:collect-phrases -m > phrases.csv
Compare phrases with old translation file
Copy the phrases.csv into this repository and run:
php check_new.php
This will output a new file de_CH_new.csv which only contains the
phrases that are not yet translated in de_CH.csv.
Translate phrases
Now you should translate these phrases. Enter the translated phrase in the second column.
Copy new phrases and create a pull request
Copy the new phrases to de_CH.csv.
IMPORTANT: sort the file alphabetically based on the first column, e.g. with LibreOffice.
Now create a new pull request with your changes!