Hello Dave,
Would you mind to answer please ? I am desperate to upgrade my theme to the newest version but I am stuck with this hard coding translation problem. Thank you
Answered – I’m adding this little snippet of code to the latest version since it seems to affect a few new themes coming out.
I have just bought the Multilingualizer and pasted the Code in header and footer. However, the hard part of the theme (a free theme of Shopify) does not reflect the languages chosen.
When I press the language button in the floating bar, the hard part of the theme stays in the initial language. Disappointed so far…
Hopefully, I will get some help and an answer. Thank you.
Hello Matina , I have exactly the same problem with the newest upgrade of my theme. I am also hoping for some help from Dave but unfortunately no luck in getting an answer for more than 2 weeks …!!! Good product but terrible customer service, apparently :/
Hi Charlotte, I am asking a refund. I simply cannot work without support at all; regardless how awesome a product may be. The amount of frustration has reached its peak as far as I am concerned. What a waste. Sorry, you are facing this issue as well. At least, I feel less lonely. Take care!
Hello Matina , I have exactly the same problem with the newest upgrade of my theme. I am also hoping for some help from Dave but unfortunately no luck in getting an answer for more than 2 weeks …!!! Good product but terrible customer service, apparently :/
Matina – are you expecting it to do translations for you or am I misunderstanding your comment?
Dave: I am not. I went through all the tutorials and did the translations – I meant the hardcode of the site. The translations did appear fine. I have sent email to your support 2x . Please be so kind as to answer those. Kind regards-
Can you try adding this little bit of code and let me know if it fixes?
I’m trying to guess from the theme upgrade – I guess maybe they’re using Javascript to load content. Add this code after the multilingualizer code.
<script>window.setInterval(function() { mutated = true;}, 250);</script>
Hello Dave,
Thank you for your reply. I added the code but it doesn’t fix the problem. The hard coding part always appear in english even tough I’ve translated it. Can you please find a solution ? I won’t be the one with this problem as it seems it won’t work with all the newest versions of Shopify themes. I am desperate to upgrade my theme :/
Hi Charlotte – can you tell me which text you have translated in the hard coded part so I can look and see why it’s not working? Did you use the long form or short form? e.g. ….english..french…. or english..french – please let me know text to look for and URL to look at so I can help. It will most likely be missing language block markers at the beginning or end of a block of text.
Hi Dave,
Sorry I forgot to reply. I used the long form and I translated everything including hard coded parts ( everything I was able to ) It used to work before I download the newest version of my theme. I was configuring it and I noticed the hard coded parts were not translating which is really annoying as I have both french and english speakers customers. The theme you see when you click on my adress is the old one (the one that works fine) . As it works just fine my guess is I didn’t forget any marker but I am affraid the theme update has made your plugin not compatible with it’s new version. Please advise, many thanks for your help
Greetings,
as this question hasn’t had any follow up in quite a while, I take it this issue has been resolved by Dave by now. Don’t hesitate to post a new question or answer here if that’s not the case.
Hi All,
Please find below a full guide to translating hard coded text on Multilingualizer.
Translating the hard-coded text in Squarespace
If you are using Shopify, you get access to the underlying theme files to edit the translations and can use the Multilingualizer formatting to make these pieces of text bilingual/multilingual.
With Squarespace templates, you *can* get access to these files as a developer but it’s non-trivial. There are hard-coded pieces of text such as error-messages on forms, placeholders for search boxes, form titles etc.
To translate these pieces of text, please add the Squarespace Extensions file to your footer. You can find the extensions file here:
https://www.multilingualizer.com/mlcode/squarespace.extension.english.french.txt
Note: The above extensions file includes translations for most Squarespace templates from English to French. For other languages, you will need to modify the translations yourself. If you are using English and French, you can just paste the code above into your footer (below any other scripts you may already have).
Finally – you can extend the hard-coded translations script yourself if you find your theme has extra pieces of english-only text we’ve missed.
In the Squarespace extensions script, on the line following the last line which begins like this:
jQuery(‘*’).replaceText(…….)
Add a line like the following:
jQuery(‘*’).replaceText(escapeRegExp(“Enter hardcoded text to translate here”), “Enter translation here”);
You can repeat as necessary for any other pieces of hard-coded text that are missing from your specific theme.
Please login or Register to submit your answer