Skip to content

Commit

Permalink
Add German translations (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
took authored Nov 26, 2023
1 parent 8acc677 commit d13e3b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/web/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],

'locale' => [
'locales' => ['en' => 'en-US', 'ru' => 'ru-RU'],
'locales' => ['en' => 'en-US', 'ru' => 'ru-RU', 'de' => 'de-DE'],
'ignoredRequests' => [
'/debug**',
],
Expand Down
9 changes: 9 additions & 0 deletions resources/messages/de/app.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

return [
'site.hello' => 'Hallo',
'site.start_with' => 'Lass uns etwas Großartiges mit <strong>Yii3</strong> starten!',
'site.guide_remind' => 'Vergiss nicht, die Anleitung zu lesen',
];

0 comments on commit d13e3b3

Please sign in to comment.