diff --git a/src/utils/gismeteoLocationCache.ts b/src/utils/gismeteoLocationCache.ts index efc740a..1b29307 100644 --- a/src/utils/gismeteoLocationCache.ts +++ b/src/utils/gismeteoLocationCache.ts @@ -19,7 +19,7 @@ export class GismeteoLocationCache { private getCachedLocations(nameStartsWith: string): GismeteoLocation[] { return this.cache - .filter((loc) => normalizeName(loc.name).startsWith(normalizeName(nameStartsWith))); + .filter((loc) => normalizeName(loc.name, this.language).startsWith(normalizeName(nameStartsWith, this.language))); } // gismeteo returns different structures for different requests: