Skip to content

Commit

Permalink
Fix: Fallback to English term for missing translations
Browse files Browse the repository at this point in the history
Use English term if no translation for the specified locale is
available by considering an empty string in a json locale file as "not
translated".
  • Loading branch information
bjoernricks committed Jan 30, 2025
1 parent 2dd3463 commit daf0eb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gmp/locale/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const I18N_OPTIONS = {
},
supportedLngs: whitelist,
nonExplicitSupportedLngs: false,
returnEmptyString: false,
interpolation: {
skipOnVariables: false,
},
Expand Down

0 comments on commit daf0eb1

Please sign in to comment.