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 52 replies, has 2 voices.

Last updated by myraD-2 2 months, 3 weeks ago.

Assigned support staff: Bobby.

Author Posts
April 15, 2020 at 6:03 pm #5916239

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Where are you adding these redirections?

----------------------------

The only place the slug should be changed is

WPML->Settings->Traduction des types de publication->Recettes (osetin_recipe)

At the moment it's incorrectly set to English as default with 'recette' assigned to it.

I have now fixed it for you, see screenshot and it shows as expected

hidden link

[NOTE: Please don't make any further changes to the slug in String translation as it will cause a mix up]

----------------------------

Now, regarding the translation of the strings Indications, Ingrédients and Étapes
How do you add these fields in the front end?

April 15, 2020 at 6:17 pm #5916337

myraD-2

Hi Bobby

thank you

I was actualluy updating the 27k links I hope there will not be a mix up with the fact that you were connected as well.

I was about to change also
particularité to french and translate the slug to Feature
and
ingrédient to french and ingredient to english

CAN I?

April 15, 2020 at 6:18 pm #5916385

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Yes that looks like it should not cause any issues.

April 15, 2020 at 6:55 pm #5916509

myraD-2

Shoot! I screwed up everthing! Can you put wverything back to how it was when you wrrote me 6:18 pm your time?

April 15, 2020 at 7:16 pm #5916557

myraD-2

ARE YOU THERE? i am panicking 🙁

April 15, 2020 at 7:40 pm #5916687

myraD-2

Please talk to me BEFORE changing anything because I'm working while I wait for you

April 15, 2020 at 7:44 pm #5916699

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I have not made any changes, not sure what change you made either.

April 15, 2020 at 8:06 pm #5916871

myraD-2

I tried changing slugs. But somehow, 2 minutes ago something seems to be fixed, as if everything updated!

So here are my questions now:

1) Is it bas to have accents in urls and slugs?
2) Should I change these slugs: they are in french with accents even if they should be in english. I don't know how to change this without affecting my french structure.
Also, Ingrédient in english also has a capital letter...

April 15, 2020 at 8:42 pm #5917025

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

1. Its personal preference, but should be fine you can read more on this here hidden link

2. Try these steps

1. Go to WPML->Settings-> Find the slug categories or Ingredient
2. On the dropdown, select "French" for the french Default
3. Now add the translation for English

Let me know your results, please.

April 15, 2020 at 9:04 pm #5917197

myraD-2

I think if I do that for the ingredients, all of the links in my site will be broken: all ingredients are searchable in all recipes and are also linkedin in the page ''ingrédients''.

If the French slug changes from ingrédient to Ingrédient, won't it ruin everything?

April 15, 2020 at 9:16 pm #5917245

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

What are your results if you change them? They should be ok unless they are hardcoded and not dynamic.

If the links break then you can switch it back to what it was just like we changed it.

Let me know your results, please.

NOTE: It is always recommended to take a backup before testing as well

April 15, 2020 at 9:26 pm #5917299

myraD-2

If I switch it, it allows me to change the english to ''ingredient'' but it forces me to change the french to ''Ingrédient'' and I would prefer leaving it as ''ingrédient''.

Is that possible?

MEDIA

Di I HAVE to translate all the medias or can I just copy the french alternative text for now and see if I have time later?

April 15, 2020 at 9:43 pm #5917329

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Well, that is because your taxonomy's name is using a capital letter, so you would have to change that manually then.

No need to translate all media at one time you can do that and later you can add your translations.

April 15, 2020 at 10:00 pm #5917339

myraD-2

But how would I change thant manually? It seems like I can only change the secondary language? See screen capture please

2) Where can I traslate this chain? I searched everywhere. See screen cap
thank you!

April 15, 2020 at 10:30 pm #5917445

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

How do you add the taxonomy Ingredients? Is this added by your theme or did you add it through the ACF group fields?

Where the taxonomy is added you can change it, otherwise I can change it using a workaround but if you are OK with the way it displays now you can also leave it as is.