Issue with international domains and language switcher

miguelcb
New Member
5 0 0

Hello,

I have been trying to setup international domains into my store but I have been facing some issues with the language switcher.

My store's domain is https://torresnovas1845.com

I also own the https://torresnovas1845.pt, and I have it targeting the Portuguese market, with Portuguese as default language but also with English and Spanish available.

When I go to https://torresnovas1845.pt I see the site in Portuguese, but if I change the language to English or Spanish, and then back to Portuguese, I get a 404 error, since it tries to load https://torresnovas1845.pt/pt-PT/, which is equivalent to to https://torresnovas1845.com/pt-pt/pt-pt and does not exist.

How can I fix this? Is there a workaround?

Thank you very much!

0 Likes
mrsun
Tourist
20 0 3

hey man

 

i just checked your website. very nice design. i wanted to ask how did you put language selection at the top of website? did you install an app or something, and what is translated languages in settings option: setting>store languages>translated languages>unpublished languages. What is this option? Does text translate automatically? 

thanks

sunny

 

0 Likes
coleatkinson
Shopify Staff
Shopify Staff
42 0 28

Hey @miguelcb,

This seems to be an issue with the language selector that the Translate my store app is rendering in your theme.

I would raise this issue with them directly, but additionally it looks like you have made your primary domain, http://torresnovas1845.com, setup to have English, Spanish, and Portuguese options.

If you want to use https://torresnovas1845.pt to target Portugal, then remove Portuguese as a language option on your primary domain, go into the options to Manage your .pt domain and set it up to target Portugal with Portuguese as the default language on that domain.

Let us know how you get on.

Cole Atkinson | Product @ Shopify
0 Likes
miguelcb
New Member
5 0 0

Dear @coleatkinson,

 

Thank you very much for your answer.

The issue I reported occurs with the normal shopify languages selector, but I'm aware that once I have this fixed, I will also have to change Translate My Store's language switcher or substitute it for the Shopify one.

I followed your steps, but if I only have "Portuguese" available for my .pt domain, then the Shopify language switcher disappears, and clients aren't able to change to English if they want/need. How could I fix that? Is there a way to have the language switcher forward the user to the right subdomain?

 

Kind regards,

Miguel

0 Likes
miguelcb
New Member
5 0 0

Hi @mrsun, I use the "Translate My Store" app, but had to translate everything manually.

0 Likes
coleatkinson
Shopify Staff
Shopify Staff
42 0 28

Which Shopify language switcher are you referring to? The Geolocation app or something else?

Cole Atkinson | Product @ Shopify
0 Likes
mrsun
Tourist
20 0 3

I haven't installed any app, i'm referring to setting>store languages>translated languages>unpublished languages. 

do i have to install an app?

0 Likes
coleatkinson
Shopify Staff
Shopify Staff
42 0 28

I am referring to this language switcher on the header of your site:

10-25-o0jzg-uhjak

This is not coming from Shopify, I suspect this is coming from the "Translate my Store" app you are using, and I would suggest reaching out to them to describe your issue and to ensure their app is compatible with international domains.

Cole Atkinson | Product @ Shopify
0 Likes
mrsun
Tourist
20 0 3

i don't have a language switcher on my header. how do i do that? install language app?

also i'm using brooklyn theme. my currency switcher is at the footer. how can i put the currency switcher in the header?

thanks

sun

0 Likes
coleatkinson
Shopify Staff
Shopify Staff
42 0 28

@mrsun I apologize I was meaning for this to be for @miguelcb!

Yes you will need to offer your buyers the ability to switch languages - the Brooklyn theme has one built into the theme settings (Themes --> Customize --> Footer), or you can use Shopify's Geolocation app.

Cole Atkinson | Product @ Shopify
0 Likes