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.
Thanks for the info.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.