Translate map messages on parse
In preparation to load the translations of map strings directly from the maps themselves, change the way strings in maps are translated: instead of translating them every time they are asked (with the usual copy&paste of code all around), translate them when loading a map.
This approach has the advantage of centralizing the handling of translations of maps in KGmap
and mapReader
, with the downside of a bit slower loading (not quantified though).