webidea/mage2-locale-de-ch
Composer 安装命令:
composer require webidea/mage2-locale-de-ch
包简介
German (Schwitzerland) language
README 文档
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!
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2019-12-09