Feature Request: multilanguage country names

Ask the community for help and support.
Post Reply
philpla
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Has thanked: 2 times
Been thanked: 1 time

Feature Request: multilanguage country names

Post by philpla »

Hello @all.

Just a short question: Are their any plans to add multilanguage support for country names?

thx
phil

Tags:
burt
Lead Developer
Lead Developer
Posts: 2423
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 49 times
Been thanked: 137 times

Re: Feature Request: multilanguage country names

Post by burt »

No plans. I can, however, see that it would be a useful addition.

If you can get it coded (as in done well and professionally) we can take a look at then getting it into the codebase.
Gamechanger Addon: Queued Emails, try before you buy.
philpla
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Has thanked: 2 times
Been thanked: 1 time

Re: Feature Request: multilanguage country names

Post by philpla »

@burt
thx for the fast reply.
coding of this - without change of core - looks impossible to me.
the DB table "countries" has a primary key countries_id. should be a combined key of country and language id. and this would change many core sql requests.

do you see an easier way of implementation?
User avatar
Kofod95
VIP Member
VIP Member
Posts: 605
Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 80 times
Been thanked: 141 times

Re: Feature Request: multilanguage country names

Post by Kofod95 »

If it's going into core, there is no need to avoid core-changes ;)
I think you are welcome to present your solution, and given it is solid (professional), core-team can include it, as the functionality seems useful (that is my understanding of it, however)

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
burt
Lead Developer
Lead Developer
Posts: 2423
Joined: Tue Oct 29, 2019 9:37 am
Has thanked: 49 times
Been thanked: 137 times

Re: Feature Request: multilanguage country names

Post by burt »

It would be *something like* how the products tables are split up. Where some parts are language specific (product name) and some parts are agnostic (product price, weight, gtin).

In the case of countries, the language specific bit would be the country name, the rest agnostic (ISO_2, ISO_3 code etc).

It's not a small and easy job, as it affects many areas of the code.
Gamechanger Addon: Queued Emails, try before you buy.
philpla
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Has thanked: 2 times
Been thanked: 1 time

Re: Feature Request: multilanguage country names

Post by philpla »

i will talk with my boss and ask if i get the time to code this.
Post Reply