Hi, we translated this website for a lawfirm, using WPML automatic translation.
The client wants the term 'lawyers' to be replaced with 'attorneys', in all the translations.
How would we go about this? I can search in the string translations, include the translations and find all strings containing the term, but I don't fancy opening each translation and manually rewrite the string with the replacement term.
- For existing translations, as you mentioned you can find all strings with that translation in "WPML > String Translation".
- Go to "WPML > String Translation" search in all domains for the word 'lawyers' and check the option "Include translations".
But it will be limited to "strings" from plugins, widgets or page builders. I can see that you're using "Avada builder" so most (if not all) of the translations should be in "String Translation".
- Else you could also use a "Search and replace" plugin to replace all references to 'lawyers' in your database. We don't have such plugin in house so please understand that it is only a recommandation and you should always make a full backup of your site and database before using a plugin that will modify entries in your database.
Ok. I'll see what we can do.
I was thinking about a search and replace with SQL, but wasn't sure if WPML used serialized arrays to save things in the database. But I doubt the search and replace plugin might be a saver bet in any case.