Jump to content

Multiple Languages and Language Dialects?


Recommended Posts

Hi 

 

I am new to prestashop but I have found the language/country setup confusing.

 

For instance, for Belgium we need to show either Belgian French [fr-BR] or Belgian Dutch [nl-BE], for the same site, the same catalogue, the same pricing, same everything else, just the two different languages spoken within that country.

 

Also, as we do sportswear, we need two different English language dialects, en-US and en-GB, for 'soccer' and 'football' respectively, for the North American and UK stores. 

 

When I tried to create en-GB as a new language and used the en language ISO code I get a warning claiming I had already used it for en-US.

"This ISO code is already linked to another language"

 

This seems to indicate that we can only have a single language tied to a single ISO locale. So we cannot have language dialects. [nl-NL and nl-BE are also different dialects]

 

Could you please enlighten me as to how we can implement the above two use cases?
One country site using two different languages, and two language dialects using the same 2 letter language ISO.

 

Thanks

Martin Graney

Link to comment
Share on other sites

I have played around with this and there is issue when en-us/en-uk that required a small hack to support.  I think this is only issue for en-us/en-uk.  Note: the correct iso code for each would be US and UK respectively.

 

for all other languages I did not have issue the key is to use second part of IETF code, i.e. ps language code fr-br has iso code of 'br'.  I actually wrote a module to support full IETF, Advanced IETF Language Detect.  I added to this module support of setting currency as well.

Link to comment
Share on other sites

  • 1 year later...

Hi 

 

I am new to prestashop but I have found the language/country setup confusing.

 

For instance, for Belgium we need to show either Belgian French [fr-BR] or Belgian Dutch [nl-BE], for the same site, the same catalogue, the same pricing, same everything else, just the two different languages spoken within that country.

 

Also, as we do sportswear, we need two different English language dialects, en-US and en-GB, for 'soccer' and 'football' respectively, for the North American and UK stores. 

 

When I tried to create en-GB as a new language and used the en language ISO code I get a warning claiming I had already used it for en-US.

"This ISO code is already linked to another language"

 

This seems to indicate that we can only have a single language tied to a single ISO locale. So we cannot have language dialects. [nl-NL and nl-BE are also different dialects]

 

Could you please enlighten me as to how we can implement the above two use cases?

One country site using two different languages, and two language dialects using the same 2 letter language ISO.

 

Thanks

Martin Graney

 

Did you find a solutio? I am facing the same problem for my Belgian shop.

 

Thanks!

Did you find a solution?

 

I am facing the same problem for my Belgian shop.

 

Thanks!

Link to comment
Share on other sites

  • 2 years later...

https://www.prestaheroes.com/en-us/prestashop-geo-localization-solutions/prestashop-module-seo-friendly-language-url-pro

 

We build this think 'they' would come...but apparently we are to far ahead of PS eco curve or we suck at marketing....probably both.

This module is also compatible with google sitemap module, google loves it..

remember this is for targeting by country (SE0), lang-(country)......where country works like a ccTLD, from an SEO perspective.

In near future we will upgrade so that for example you have 'a' en  en-us language defined, with our Geo  Targeting Pro module if for example when UK or CA, we would switch en-us to en-uk en-ca for example...sitemap then would have 3 urls en-us, en-uk,en-ca....same for fr es etc.

this replaces need for a multishop solution where your goal is to multiple shop content using domain names gTLD/ccTLD's.

to understand how building SEO by lang/country (specifically country)...see azure.com maybe you heard  of it. :)

 

el

Link to comment
Share on other sites

  • 5 years later...
On 11/1/2018 at 7:07 PM, PrestaHeroes USA said:

https://www.prestaheroes.com/en-us/prestashop-geo-localization-solutions/prestashop-module-seo-friendly-language-url-pro

 

We build this think 'they' would come...but apparently we are to far ahead of PS eco curve or we suck at marketing....probably both.

This module is also compatible with google sitemap module, google loves it..

remember this is for targeting by country (SE0), lang-(country)......where country works like a ccTLD, from an SEO perspective.

In near future we will upgrade so that for example you have 'a' en  en-us language defined, with our Geo  Targeting Pro module if for example when UK or CA, we would switch en-us to en-uk en-ca for example...sitemap then would have 3 urls en-us, en-uk,en-ca....same for fr es etc.

this replaces need for a multishop solution where your goal is to multiple shop content using domain names gTLD/ccTLD's.

to understand how building SEO by lang/country (specifically country)...see azure.com maybe you heard  of it. :)

 

el

Hi, I am joining this thread because of a doubt about your module.
Assume you have several languages and countries active on a site. France, Holland and Belgium.

France has iso “fr,” and lang fr-FR
Holland has iso “nl,” and lang nl-NL
Belgium has iso “be,” and two langs: fr-BE and nl-BE

But you can't have two countries with the same ISO so how do you add the second language of the iso “be”? If you put a random two-digit code what side effects do you have?
And if you forced Prestashop not to do that check, since on file system Prestashop uses the iso to name directories, don't you have problems with all translations?

 

 

Link to comment
Share on other sites

  • 3 weeks later...
On 7/19/2024 at 12:11 PM, Shambola said:

Hi, I am joining this thread because of a doubt about your module.
Assume you have several languages and countries active on a site. France, Holland and Belgium.

France has iso “fr,” and lang fr-FR
Holland has iso “nl,” and lang nl-NL
Belgium has iso “be,” and two langs: fr-BE and nl-BE

But you can't have two countries with the same ISO so how do you add the second language of the iso “be”? If you put a random two-digit code what side effects do you have?
And if you forced Prestashop not to do that check, since on file system Prestashop uses the iso to name directories, don't you have problems with all translations?

 

 

sorry for late reply, no there are no problems with translations.  the module works perfectly within iso, no duplicates.  the strength is serving 'their country' and 'their language', if that language exists, regardless if that language is not native to that  country, but it is native to the visitor.  this module should be used by everyone but the techniques are not well understood or adopted outside of US

Link to comment
Share on other sites

Hello, and thank you for your answer.

 

Let's try to abstract the doubt: that is, how do you configure on prestashop two iso code when you have a bi language country.
I have a site that already has "fr" and "nl" as ISOs. 

The two isos have fr and nl as language codes respectively. (But they could also have fr-fr and nl-nl is not the problem)

I want to add Belgium. ISO code cannot be duplicated. I start with French Belgium, use "be" as iso and fr-be as language code. Everything works...

Now I want to add Flemish. The language code will be nl-be, but it won't let me use it because I can't duplicate the "be" iso code.

So, to add the second language of Belgium, what do I use as the ISO?

Link to comment
Share on other sites

On 8/12/2024 at 2:12 AM, Shambola said:

Hi, it seems really strange to me to think that I am the only one who has this problem or the only one who has not found a solution!
:(

But there is no documentation anywhere about it. 

I don't know why you think you have a problem, we are experts in this field, this was built on IETF standard and is a good if not better than one of the top websites in the world.  Yes, I find it strange that we released the module work 5 years ago and few even understand that this ietf standard allows one to increase their by country seo signal....replacing the need have other country tld.  In US, for international site, our module statifies this ietf standard.  

Link to comment
Share on other sites

In fact, I am not surprised at all.
We too modified Prestashop to use the language code in the url, added all the hrflangs etc etc.

Now our urls are all domain/xx-yy/rest of url
and in the page source code for each language there is the default and all the alternates.

(We did this before we discovered that you had made a module).

The problem I still have, however, is independent of this: I can't add Flemish because the iso code (not the lang code, the iso) is a unique field. And in fact what I'm asking you is: if you have a site where you already have France and Netherlands, iso FR and iso NL, with lang codes fr-FR and nl-NL, and you add Belgium, you use as iso "BE" and as lang code fr-BE. What iso will  you use for Dutch Belgium? The lang code will be nl-BE, but the iso? That's it.

http://www.lingoes.net/en/translator/langcode.htm

Note: I have no problem buying your module if it solves my problem, but I would like to understand how it does it. I think this more a logical limitation than a technological one.

:)

Schermata 2024-08-14 alle 20.45.37.png

 

Edited by Shambola (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...