Translate slugs of product and collection

Highlighted
Shopify Partner
12 0 3

Is it possible to translate slugs for product and collections using new translation Apis ?

ex.

example.shop.com/english-product - english

example.shop.com/ar/arabic-product - arabic

example.shop.com/tr/turkish-product - turkish

 

I want something like this product slugs should also change according to language 

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 102 129

Hey @sweta25_jadav ,

 

To the best of my knowledge, this is not possible through the Translation API. The "slugs" you are referring to are known as the "handle" field of a Product object in Shopify. The Translation API can only currently support the translation of the fields title, body_html, meta_title, meta_description
for the Products object, but not the handle field: https://help.shopify.com/en/api/guides/multi-language/translating-content-api#graphql-admin-api-tran...

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
Highlighted
Shopify Partner
12 0 3

@hassain we want this for SEO purpose.. we are having 3 languages on our store arabic, turkish and english.. so we need canonicals and hreflangs according to language.. is there any other way or workaround for this ?

0 Likes
Highlighted
Excursionist
19 1 1

hello, i have a theme that supports both arabic and english 100%, it works perfectly for english and arabic, you can have the landing page in arabic and the second language in english, if you are interested reply to me.


@sweta25_jadav wrote:

Is it possible to translate slugs for product and collections using new translation Apis ?

ex.

example.shop.com/english-product - english

example.shop.com/ar/arabic-product - arabic

example.shop.com/tr/turkish-product - turkish

 

I want something like this product slugs should also change according to language 


 

0 Likes
Highlighted
Shopify Partner
12 0 3

hello,

 

does your theme provide functionality to add translations for arabic and english ? we also want turkish language too does it supports ?

 

Thank you.

0 Likes
Highlighted
Excursionist
19 1 1

our theme already supports arabic and english 100% you can check it here, 

this is the link to the preview store https://mo-bach.myshopify.com/ the password is : 9 

 

we can add turkish


@sweta25_jadav wrote:

hello,

 

does your theme provide functionality to add translations for arabic and english ? we also want turkish language too does it supports ?

 

Thank you.


 

0 Likes