I am working on a site built with the genesis framework and would like to add javascript to the body of a page. See the attached picture of where I added it. It works fine on the default language, but its completely missing in the translation of the page. Any help would be appreciated.
Bobby, Sorry I got a message that said I wouldn't get a response until Monday. Thanks for your response. I found what you requested. take a look at my image. I would love to be able to add a different script for each language, looks like this may be able to do that for me.
Im hoping the _genesis_scripts_body will allow me to set another script to run on the translated page? I set it to translate. Where can I find it? string translation in the genesis domain? Im not finding it even after i scan the genesis domain for new strings.
I set _genesis_scripts_body to translatable and sent the page for translation. When in the advanced editor, I don't see the script to be translated? Where do I go to translated the script? I also can't find it in string translation.
When in the Advanced Translation Editor on the top left corner there is an option to search source.
Within that search box search for your custom JS.
You should be able to find it now
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.