Read the statement by Michael Teeuw here.
MMM-OlympicGames
-
I’ve specified the en-US locale but the country names seem to be in Catalan.
Here is my config file
{ module: "MMM-OlympicGames", position: "top_left", config: { // all your config options, which are different$ locale: "en_US", highlight: "CA", maxRows: "10", reloadInterval: "3600000", provider: "nbc" } } ```Edited to fix locale typo
-
-
@sdetweil Just saw that after posting and made the correction. Unfortunaly I get the same result with the typo corrected.
-
@sirfm
locale
has to be direcly under config not in the module config: https://github.com/fewieden/MMM-OlympicGames/blob/master/.github/global.png -
@kristjanesperanto yes, but that impacts system wide.
but looking at the code, you are correct
-
@sdetweil @KristjanESPERANTO
My default locale is “ca-FR”. I don’t mind contributing to a transaltion file if needed. -
@sirfm the locale
ca-FR
represents Catalan (France) in your case it should befr-CA
for French (Canada).In general, the locale format is mostly language code - region code.
There are some labels that could also be translated to french https://github.com/fewieden/MMM-OlympicGames/blob/master/translations/en.json
-
1.3.0
Added
- Added option for user to input list of countries to display, see config option
countryList
. - Added French language translations.
Changed
- Uniform spelling for MagicMirror²
- Upgraded development dependencies
- Updated preview images
Link to module https://github.com/fewieden/MMM-OlympicGames
- Added option for user to input list of countries to display, see config option
-
Is there any way that the module could be used for the Paralympics games?
-
@sirfm @KristjanESPERANTO I found an API
1.4.0
Added
- Data provider:
paralympic
Changed
- Default provider:
paralympic
- Default title:
Paralympic Winter Games 2022
Link to module: https://github.com/fewieden/MMM-OlympicGames
- Data provider: