Background of the issue:
I'm trying to translate my site from French to English by hand (no automatic translation yet). When I enable the option 'Show a lang selector in the footer' in WPML settings, two languages are shown. However, on a product page, even if everything is translated to English, the English choice won't appear. When I manually change the current language by adding lang=en in the URL, I can see the page is fully translated. There are sync problems between product pages: modifications in the block editor 'Gutenberg' appear on the French version but not on the English version unless I manually add lang=en in the editor URL. Additionally, when I add the 'lang selector' block in the Gutenberg editor, it appears briefly during page load and then disappears. I use string translation for translating texts in blocks and custom plugins.
Symptoms:
The language selector block disappears quickly, English language option doesn't appear on product pages, and there are synchronization issues between language versions in the Gutenberg editor.
Questions:
Why does the lang selector block disappear when the footer lang selector works well?
Why doesn't the English language option work on product pages?
Why are there sync problems between language versions in the Gutenberg editor?
Is it possible to show the English option even if some translations are missing?
יולי 12, 2024 ב-10:01 am
ניהול הסכמה לקובצי Cookie
אנו משתמשים בקובצי Cookie כדי לייעל את האתר והשירותים שלנו. הסכמתך מאפשרת לנו לעבד נתונים כגון התנהגות גלישה. אי הסכמה עשויה להשפיע על תכונות מסוימות.
פונקציונלי
תמיד פעיל
נדרש כדי שהאתר שלנו יפעל ויתקשר בצורה נכונה.
העדפות
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
סטטיסטיקה
אנו משתמשים בהם כדי לנתח את הנתונים הסטטיסטיים של האתר שלנו. המידע שנאסף הוא אנונימי לחלוטין. האחסון או הגישה הטכנית שמשמשים באופן בלעדי לצרכים סטטיסטיים אנונימיים. ללא זימון, הסכמה וולונטרית מצד ספק שירותי האינטרנט שלך, או רשומות נוספות מצד שלישי, המידע המאוחסן או המוחזר למטרה זו בלבד לא ניתן בדרך כלל לשימוש לצורך זיהויך.
שיווק
קובצי Cookie אלה עוקבים אחר הגלישה שלך כדי לספק מודעות רלוונטיות עבורך.