I tried to follow the instructions from https://mage2.pro/t/topic/270 and http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-i18n.html#config-cli
I just tried it and got it working. You need to make few minor uppercase to lowercase changes and vice-versa.
app/i18n/Test/de_ch to app/i18n/test/de_ch (lowercase t)de_ch.csv to de_CH.csv (uppercase CH, this needs to be identical to the in language.xml) language.xml, change Test to test (of course also add to the beginning of the file). This is defined in App/Language/package.xsdregistration.php too, change it to test_de_ch---- edited to add complete code ---
In /app/i18n/test/de_ch
Create the following files:
composer.json
{
"name": "test/de_ch",
"description": "German (Switzerland) language",
"version": "100.0.1",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"require": {
"magento/framework": "100.0.*"
},
"type": "magento2-language",
"autoload": {
"files": [
"registration.php"
]
}
}
de_CH.csv
"Search entire store here...","Suche TESTING..."
language.xml
de_CH
test
de_ch
registration.php