Skip to content

refactor: get rid of localized names

Bartek Jaskulski requested to merge fix/ditch-localized-names into master

Allowed countries in WC is an array of country code and localized name. For analytical purpose there's no use of country name, especially when dealing with client's localization. For this case, use only country codes which are being held in array keys.

We don't care about data type compatibility as this value was never actually used and if necessary, it may be quite easy to handle both formats of data when dealing with long-term reports.

Signed-off-by: Bart Jaskulski bjaskulski@protonmail.com

Merge request reports