דלג לתוכן דלג לסרגל הצד
Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

אזור זמן של התומך: America/Sao_Paulo (GMT-03:00)

תגיות: 

נושא זה מכיל 0 1, יש ל 1קוֹל.

עודכן לאחרונה על ידי mariusA-7 לפני 3 חודשים.

בסיוע: Lucas Vidal de Andrade.

מחבר פוסטים
אפריל 15, 2025 ב־4:01 pm #16935325

mariusA-7

Background of the issue:
I am in the process of translating pages from Norwegian to Swedish using WPML. I click the "+" in the page list, which takes me to the translation page (e.ate.wpml.org) where the content is auto-translated. After clicking "Complete Translation," it takes me back to the page list, and the page is successfully translated. I am using a setup with a different domain for each language, klimabefuktning.no and klimabefuktning.se. I also added a filter to prevent the second domain from redirecting back to the main domain: add_filter('redirect_canonical', 'allow_localized_secondary_domains', 10, 2); function allow_localized_secondary_domains($redirect_url, $requested_url) { $allowed_domains = ['klimabefuktning.se']; $requested_host = parse_url($requested_url, PHP_URL_HOST); if (in_array($requested_host, $allowed_domains)) { return false; } return $redirect_url; } Link to a page where the issue can be seen: קישור נסתר

Symptoms:
The "arrow wheel" never stops spinning after translation. I also get some 404 errors (see attachment). When I reload the page, the "pen" icon is shown.

Questions:
Why does the arrow wheel never stop spinning after translation?
How can I resolve the 404 errors encountered during translation?

הנושא "[סגור] Arrow wheel doesn't stop spinning after translation" סגור לתגובות חדשות.