Feature Request: multilanguage country names

Open to all! Ask other shopowners for help.
Post Reply
philpla
Member
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Phoenix Version:
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:


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 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.
I am not here to build for you.
I am here to build with you. Let's help each other.
philpla
Member
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Phoenix Version:
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
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 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
User avatar
burt
Core Team
Posts: 4551
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 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.
I am not here to build for you.
I am here to build with you. Let's help each other.
philpla
Member
Posts: 27
Joined: Sun Feb 28, 2021 8:37 am
Phoenix Version:
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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply