You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am redoing my website using the Bricks editor/theme. Whenever I am in the editor and I am finished with doing the translation manually using [:en]English Text[:ja]Japanese Text[:] and I save, it works. On the front end the translation works. However, when I want to make an edit, qTranslate-XT will translate the string in the editor. Instead of keeping the raw [:en]English Text[:ja]Japanese Text[:] it will replace it in the editor with "Japanese Text” because I have a Japanese computer. This essentially erases all of my translations whenever I want to make an edit.
Describe the solution you'd like
Have an option to exclude wildcard URLs from being translated. I would like to exclude URLs with ...
*bricks=run
… in the url from being translated.
Describe alternatives you've considered
I contacted Bricks support and they said that if qTranslate-XT could exclude bricks=run from the url it would fix the issue. Otherwise I could add it to their idea board. See support post here
I was able to find a band-aid patch to make this work. However, I have never ever programmed in PHP so I am sure I made a mistake here and the obvious flaw is that it only works for my specific case but I am sure this is a good starting point for this so I thought I would share this with anyone who might need it.
I edited qtranxf_isMultilingual in src/language_blocks.php to the following...
Is your feature request related to a problem? Please describe.
I am redoing my website using the Bricks editor/theme. Whenever I am in the editor and I am finished with doing the translation manually using [:en]English Text[:ja]Japanese Text[:] and I save, it works. On the front end the translation works. However, when I want to make an edit, qTranslate-XT will translate the string in the editor. Instead of keeping the raw [:en]English Text[:ja]Japanese Text[:] it will replace it in the editor with "Japanese Text” because I have a Japanese computer. This essentially erases all of my translations whenever I want to make an edit.
Describe the solution you'd like
Have an option to exclude wildcard URLs from being translated. I would like to exclude URLs with ...
*bricks=run
… in the url from being translated.
Describe alternatives you've considered
I contacted Bricks support and they said that if qTranslate-XT could exclude bricks=run from the url it would fix the issue. Otherwise I could add it to their idea board. See support post here
Debug info [if applicable]
The text was updated successfully, but these errors were encountered: