mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Add 🇩🇪 German locale
Thanks @Justman10000
This commit is contained in:
@@ -129,6 +129,7 @@ const GeneralSiteSettingsP = ({
|
|||||||
>
|
>
|
||||||
<option value="en">🇬🇧 English</option>
|
<option value="en">🇬🇧 English</option>
|
||||||
<option value="it">🇮🇹 Italiano</option>
|
<option value="it">🇮🇹 Italiano</option>
|
||||||
|
<option value="de">🇩🇪 Deutsch</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Configure I18n to look at subfolders too
|
# Configure I18n to look at subfolders too
|
||||||
I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.yml')]
|
I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.yml')]
|
||||||
|
|
||||||
I18n.available_locales = [:en, :it]
|
I18n.available_locales = [:en, :it, :de]
|
||||||
I18n.default_locale = :en
|
I18n.default_locale = :en
|
||||||
Reference in New Issue
Block a user