• Hello,

    I have a big issue with RTL language. While one of main sections of my site is based on an rtl language using Polylang plugin, it outputs always a long white blank space on the post/story view page so that sometime the content is not visible and you have to scroll horizontally to view the content. When I searched on the forum and the web about any troubleshooting, I read some users asking help for two years ago while the problem still exists. Seeking a lot in the source code of the page, I came to this conclusion that the following code might create this issue:

    <script type='text/javascript' id='mediaelement-core-js-before'>var mejsL10n = {"language":"fa","strings":{"mejs.download-file":"\u062a\u0646\u0632\u06cc\u0644 \u067e\u0631\u0648\u0646\u062f\u0647","mejs.install-flash":"\u0645\u0631\u0648\u0631\u06af\u0631\u06cc \u0631\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0645\u0634\u063a\u0644 \u0641\u0644\u0634 \u0622\u0646 \u0641\u0639\u0627\u0644 \u06cc\u0627 \u0646\u0635\u0628 \u0646\u06cc\u0633\u062a. \u0644\u0637\u0641\u0627\u064b \u0645\u0634\u063a\u0644 \u0641\u0644\u0634 \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f \u06cc\u0627 \u062c\u062f\u06cc\u062f \u062a\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0631\u0627 \u0627\u0632 https:\/\/get.adobe.com\/flashplayer\/ \u062a\u0646\u0632\u06cc\u0644 \u06a9\u0646\u06cc\u062f.","mejs.fullscreen":"\u062a\u0645\u0627\u0645 \u0635\u0641\u062d\u0647","mejs.play":"\u067e\u062e\u0634","mejs.pause":"\u062a\u0648\u0642\u0641","mejs.time-slider":"\u0644\u063a\u0632\u0627\u0646\u06a9 \u0632\u0645\u0627\u0646","mejs.time-help-text":"\u062a\u06cc\u0631 \u0633\u0645\u062a \u0686\u067e \u0648 \u0631\u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0631\u0641\u062a\u0646 \u0628\u0647 \u06cc\u06a9 \u062b\u0627\u0646\u06cc\u0647\u060c \u062a\u06cc\u0631 \u0628\u0627\u0644\u0627 \u0648 \u067e\u0627\u06cc\u06cc\u0646 \u0631\u0627 \u0628\u0631\u0627\u06cc \u062f\u0647 \u062b\u0627\u0646\u06cc\u0647 \u0631\u0641\u062a\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.","mejs.live-broadcast":"\u0646\u0634\u0631 \u0632\u0646\u062f\u0647","mejs.volume-help-text":"\u062a\u06cc\u0631 \u0628\u0627\u0644\u0627 \u0648 \u067e\u0627\u06cc\u06cc\u0646 \u0631\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0647\u0634 \u06cc\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u0635\u062f\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.","mejs.unmute":"\u0644\u063a\u0648 \u0635\u0627\u0645\u062a","mejs.mute":"\u06af\u0646\u06af","mejs.volume-slider":"\u062d\u062c\u0645 \u0635\u062f\u0627","mejs.video-player":"\u0645\u0634\u063a\u0644 \u0648\u06cc\u062f\u06cc\u0648","mejs.audio-player":"\u0645\u0634\u063a\u0644 \u0635\u0648\u062a","mejs.captions-subtitles":"\u062a\u0648\u0636\u06cc\u062d\u0627\u062a\/\u0632\u06cc\u0631\u0646\u0648\u06cc\u0633","mejs.captions-chapters":"\u0641\u0635\u0644\u200c\u0647\u0627","mejs.none":"\u0647\u06cc\u0686 \u06a9\u062f\u0627\u0645","mejs.afrikaans":"\u0622\u0641\u0631\u06cc\u06a9\u0627\u0646\u0633","mejs.albanian":"\u0627\u0644\u0628\u0627\u0646\u06cc\u0627\u06cc\u06cc","mejs.arabic":"\u0639\u0631\u0628\u06cc","mejs.belarusian":"\u0628\u0644\u0627\u0631\u0648\u0633\u06cc","mejs.bulgarian":"\u0628\u0644\u063a\u0627\u0631\u06cc","mejs.catalan":"\u06a9\u0627\u062a\u0627\u0644\u0627\u0646","mejs.chinese":"\u0686\u06cc\u0646\u06cc","mejs.chinese-simplified":"\u0686\u06cc\u0646\u06cc (\u0633\u0627\u062f\u0647 \u0634\u062f\u0647)","mejs.chinese-traditional":"\u0686\u06cc\u0646\u06cc (\u0633\u0646\u062a\u06cc)","mejs.croatian":"\u06a9\u0631\u0648\u0627\u062a\u06cc","mejs.czech":"\u0686\u06a9\u06cc","mejs.danish":"\u062f\u0646\u0645\u0627\u0631\u06a9\u06cc","mejs.dutch":"\u0647\u0627\u0644\u0646\u062f\u06cc","mejs.english":"\u0627\u0646\u06af\u0644\u06cc\u0633\u06cc","mejs.estonian":"\u0627\u0633\u062a\u0648\u0646\u06cc\u0627\u06cc\u06cc","mejs.filipino":"\u0641\u06cc\u0644\u06cc\u067e\u06cc\u0646\u06cc","mejs.finnish":"\u0641\u0646\u0644\u0646\u062f\u06cc","mejs.french":"\u0641\u0631\u0627\u0646\u0633\u0648\u06cc","mejs.galician":"\u06af\u0627\u0644\u06cc\u0633\u06cc","mejs.german":"\u0622\u0644\u0645\u0627\u0646\u06cc","mejs.greek":"\u06cc\u0648\u0646\u0627\u0646\u06cc","mejs.haitian-creole":"\u06a9\u0631\u06cc\u0648\u0644 \u0647\u0627\u0626\u06cc\u062a\u06cc","mejs.hebrew":"\u0639\u0628\u0631\u06cc","mejs.hindi":"\u0647\u0646\u062f\u06cc","mejs.hungarian":"\u0645\u062c\u0627\u0631\u0633\u062a\u0627\u0646\u06cc","mejs.icelandic":"\u0622\u06cc\u0633\u0644\u0646\u062f\u06cc","mejs.indonesian":"\u0627\u0646\u062f\u0648\u0646\u0632\u06cc\u0627\u06cc\u06cc","mejs.irish":"\u0622\u06cc\u0631\u0644\u0646\u062f\u06cc","mejs.italian":"\u0627\u06cc\u062a\u0627\u0644\u06cc\u0627\u06cc\u06cc","mejs.japanese":"\u062c\u0627\u067e\u0627\u0646\u06cc","mejs.korean":"\u06a9\u0648\u0631\u06cc\u0627\u06cc\u06cc","mejs.latvian":"\u0644\u062a\u0648\u0646\u06cc","mejs.lithuanian":"\u0644\u06cc\u062a\u0648\u0627\u0646\u06cc\u0627\u06cc\u06cc","mejs.macedonian":"\u0645\u0642\u062f\u0648\u0646\u06cc","mejs.malay":"\u0645\u0627\u0644\u0627\u06cc\u06cc","mejs.maltese":"\u0645\u0627\u0644\u062a\u06cc","mejs.norwegian":"\u0646\u0631\u0648\u0698\u06cc","mejs.persian":"\u0641\u0627\u0631\u0633\u06cc","mejs.polish":"\u0644\u0647\u0633\u062a\u0627\u0646\u06cc","mejs.portuguese":"\u067e\u0631\u062a\u06af\u0627\u0644\u06cc","mejs.romanian":"\u0631\u0648\u0645\u0627\u0646\u06cc\u0627\u06cc\u06cc","mejs.russian":"\u0631\u0648\u0633\u06cc","mejs.serbian":"\u0635\u0631\u0628\u0633\u062a\u0627\u0646\u06cc","mejs.slovak":"\u0633\u0644\u0648\u0627\u06a9\u06cc","mejs.slovenian":"\u0633\u0644\u0648\u0648\u0646\u06cc\u0627\u06cc\u06cc","mejs.spanish":"\u0627\u0633\u067e\u0627\u0646\u06cc\u0627\u06cc\u06cc","mejs.swahili":"\u0633\u0648\u0627\u062d\u06cc\u0644\u06cc","mejs.swedish":"\u0633\u0648\u06cc\u062f\u0646\u06cc","mejs.tagalog":"\u062a\u0627\u06af\u0627\u0644\u0648\u06af","mejs.thai":"\u062a\u0627\u06cc\u0644\u0646\u062f\u06cc","mejs.turkish":"\u062a\u0631\u06a9\u06cc","mejs.ukrainian":"\u0627\u0648\u06a9\u0631\u0627\u06cc\u0646\u06cc","mejs.vietnamese":"\u0648\u06cc\u062a\u0646\u0627\u0645\u06cc","mejs.welsh":"\u0648\u0644\u0632\u06cc","mejs.yiddish":"\u06cc\u062f\u06cc"}};</script>

    Please help me to tackle this issue. I can’t deactivate this plugin now because in that case I have to reset my website and all thing will be lost.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • @kppac1
    I’m not related at all with this plugin (except that I use it on one site). But the code you’re showing here seems to depend on Flashplayer, a technology that reached end-of-life several years ago, and the player itself is unavailable.

    So if your content currently is in Flashplayer format, then you’ll need to convert it somehow, anyway.

    Thread Starter kppac1

    (@kppac1)

    Thank you for replying to my thread. The issue with this plugin is only with rtl languages and only on posts/stories. It doesn’t cause such a problem in other sections and ltr languages. And that code also belongs to this plugin I think but could not identify it in the plugin’s code and nowhere on the themes codes!

    I’d suggest that you check your translated content for Farsi, in “code edit” mode.

    Thread Starter kppac1

    (@kppac1)

    Is there anybody who knows how to tackle this issue??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Critical issue with RTL language’ is closed to new replies.