Add French localization (#1018)

This commit is contained in:
Hugo Locurcio
2025-02-28 00:44:04 +01:00
committed by GitHub
parent ce028fd7c8
commit 99edecc827
3 changed files with 95 additions and 3 deletions

View File

@@ -3,9 +3,10 @@ const languageMap = {
'en': 'English',
'es': 'Español',
'de': 'Deutsch',
'fr': 'Français',
'ja': '日本語',
'zh': '中文',
'pt': 'Português'
'pt': 'Português',
};
document.querySelectorAll('.localize-language-label').forEach(function(el) {
@@ -13,4 +14,4 @@ document.querySelectorAll('.localize-language-label').forEach(function(el) {
if (languageMap[lang]) {
el.textContent = languageMap[lang];
}
});
});