Skip to content

Commit d13e3b3

Browse files
authored
Add German translations (#303)
1 parent 8acc677 commit d13e3b3

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

config/web/params.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717

1818
'locale' => [
19-
'locales' => ['en' => 'en-US', 'ru' => 'ru-RU'],
19+
'locales' => ['en' => 'en-US', 'ru' => 'ru-RU', 'de' => 'de-DE'],
2020
'ignoredRequests' => [
2121
'/debug**',
2222
],

resources/messages/de/app.php

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
return [
6+
'site.hello' => 'Hallo',
7+
'site.start_with' => 'Lass uns etwas Großartiges mit <strong>Yii3</strong> starten!',
8+
'site.guide_remind' => 'Vergiss nicht, die Anleitung zu lesen',
9+
];

0 commit comments

Comments
 (0)