This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 6 replies, has 2 voices.

Last updated by Carlos Rojas 1 month, 3 weeks ago.

Assigned support staff: Carlos Rojas.

Author Posts
August 19, 2019 at 10:15 am #4415123

ronanM-4

Want to change language slug in url

August 19, 2019 at 10:24 am #4415179

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

I'm truly sorry but I don't understand the issue 🙁

Can you please elaborate a little more so I can better understand?

Kind regards,
Carlos

August 19, 2019 at 11:05 am #4415451

ronanM-4

Ok fine,

For Swedish language, when i clock on Swedish language below link is open (sv)
hidden link

But i want to change language slug like
hidden link

So how can we do ?

Please provide solution.

Waiting for your reply

August 19, 2019 at 11:47 am #4415637

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,
Thank you very much for your message.

To accomplish this you need to follow this steps:
- Go to WPML -> Languages -> Click on 'Edit Languages' link -> in the last column of Swedish change sv to sw -> Save the changes.
- Go to Settings -> Permalinks -> Re-save the permalinks.

Regards,
Carlos

August 19, 2019 at 12:47 pm #4416111

ronanM-4

I already did this but not reflected, Also i have cleared browser cache as well. See attached screenshot for your reference.

August 19, 2019 at 8:15 pm #4419067

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,
Thank you very much for your message.

In this case I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Regards,
Carlos

August 20, 2019 at 7:59 am #4421359

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi,
Thank you very much for the information provided.

Please visit this ticket where you will find a solution for a very similar request: https://wpml.org/forums/topic/change-the-language-code-2/

Best regards,
Carlos