We are theme developers, In our theme we are trying to translate theme options text( admin text ) like welcome text / address / copyright etc..
these all texts showing in string translation area but after translation , it was not reflecting in frontend
Thanks for contacting WPML forums support. I'll be glad to help you today.
Please login to this sandbox site and install your theme. (hidden link)
After that, please create a test header and footer and translate them to replicate the issue. If the issue is replicable, please let me know how to reproduce it.
The issue has been escalated to our compatibility team. I'll update you as soon as I get their reply. It might take some time due to a higher workload.
I've applied this workaround on the sandbox site. Please check the topbar string on the translated page. (hidden link)
Kindly note that this needs to be done for other theme options: replace the get option custom function, $topbar_values['option-name'], for the one from WordPress $get_option['option-name'].
As mentioned in my previous reply, you would need to apply this workaround to all theme option strings. For example, for the copyright string, please check the following steps:
1- Open ..../wp-content/themes/igual/template-parts/footer-bottom.php
2- Look for line 41
3- Replace it
I hope this helps you. If you need further info, please let me know.
Best regards,
Osama
The topic ‘[Closed] all texts showing in string translation area but after translation , it was not reflecting in frontend’ is closed to new replies.
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.