Hi all,
previous versions of Limax mapped German umlauts to the proper counterpart (e.g. ü will become ue). With the change in #44 and 4.0 unfortunately this breaks, and ü will now be mapped to a simple u which would be considered “less correct” in German.
Also, trying to fix it via a custom mapping will not help, as the _.deburr replacement happens without considering the given mappings. Our current workaround replaces them before applying limax:
const fixedMapping = {
ä: 'ae',
Ä: 'Ae',
ö: 'oe',
Ö: 'Oe',
ü: 'ue',
Ü: 'Ue'
};
let fixedInput = input;
for (const mapping of Object.entries(fixedMapping)) {
fixedInput = fixedInput.replaceAll(mapping[0], mapping[1]);
}
Hi all,
previous versions of Limax mapped German umlauts to the proper counterpart (e.g.
üwill becomeue). With the change in #44 and 4.0 unfortunately this breaks, andüwill now be mapped to a simpleuwhich would be considered “less correct” in German.Also, trying to fix it via a
custommapping will not help, as the_.deburrreplacement happens without considering the given mappings. Our current workaround replaces them before applying limax: