webidea/mage2-locale-de-ch

German (Schwitzerland) language

1.55.2.1 2019-12-09 15:30 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!