Add French language to dropdown

This commit is contained in:
montylion
2021-08-23 21:28:42 +02:00
parent 70694096ea
commit 85eb608414
2 changed files with 10 additions and 2 deletions

View File

@@ -38,7 +38,8 @@ app.use(expressLocale({
en: 'en-US', 'en-GB': 'en-US', 'en-AU': 'en-US', 'en-CA': 'en-US',
ar: 'ar-AR',
es: 'es-ES',
it: 'it-IT',
fr: 'fr-FR', 'fr-CA': 'fr-FR', 'fr-CH': 'fr-FR',
it: 'it-IT', 'it-CH': 'it-IT',
ru: 'ru-RU',
tr: 'tr-TR'
},
@@ -46,7 +47,8 @@ app.use(expressLocale({
'en', 'en-US', 'en-GB', 'en-AU', 'en-CA',
'ar', 'ar-AR',
'es', 'es-ES',
'it', 'it-IT',
'fr', 'fr-FR', 'fr-CA', 'fr-CH',
'it', 'it-IT', 'it-CH',
'ru', 'ru-RU',
'tr', 'tr-TR',
],

View File

@@ -45,6 +45,12 @@
<div class="item"><span class="lang">🇪🇸</span><span class="locale-names">Español</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="fr-FR" name="category" />
<label for="fr-FR">
<div class="item"><span class="lang">🇫🇷</span><span class="locale-names">Français</span></div>
</label>
</div>
<div class="option">
<input type="radio" class="radio" id="it-IT" name="category" />
<label for="it-IT">