This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is attempting to translate the text 'Submit Listing' and 'Sign in' on their website header using WPML. Despite following the relevant documentation, the 'Submit Listing' button text does not change when switching the website language from English to Albanian.
Solution:
1. Verify that the Template used in the Header is set as translatable in WPML. This can be done by navigating to WPML > Settings > Post Type Translation.
2. Once the Template is set as translatable, use the WPML Translation Editor to apply the translations.
3. Additionally, translate any relevant Listing Conditions through WPML > Taxonomy Translation.
If this solution does not resolve your issue, or if it seems outdated or not applicable to your case, we recommend opening a new support ticket. We also highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Compatibility
This topic contains 0 replies, has 0 voices.
Last updated by Andreas W. 2 weeks, 5 days ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
March 7, 2025 at 11:20 am #16787873 | |
freelancerI |
Background of the issue: Symptoms: Questions: |
March 7, 2025 at 2:28 pm #16788993 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, Thank you for sharing the details. ### I would like to look at this directly on your site. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible. The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it. I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you. IMPORTANT Please make a backup copy of the site files and database before giving us access. - If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this: hidden link |
March 7, 2025 at 5:29 pm #16789561 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, I checked in Templates > Theme Builder, Templates > Saved Templates and tried accessing the link directly, but I couldn't find your Header. Please tell exactly where I can find it. Also, in your first message you said "The button text remains 'Shto Listimin' even after applying translations.". What I found was the opposite, that the text always remains in EN, "Submit Listing", regardless of the selected language. Can you please clarify what the issue is? I'm waiting your feedback. |
March 9, 2025 at 9:33 pm #16793714 | |
freelancerI |
Hello Lucas, Yes you are the right. Look it that for this website staging that I created doesn't include some some theme or builder components (like headers and footers) ? Secondly about the text of the button I tried to change from "submit lisitng" which logical is the first lanauge of the theme, but since we need that first lanauge to be Albanian i go at edit elementor as screenshoot_2 change text in the "shto listimin "but it has not any impact on the translate text of the button when user switch so for this Please reply me if you have full understand me? and tell how to solve the first issue for the staging website? that you don't have access on it. |
March 10, 2025 at 3:06 pm #16797289 | |
freelancerI |
Hello Lucas, |
March 10, 2025 at 4:10 pm #16797458 | |
freelancerI |
Might tried again pls |
March 10, 2025 at 4:56 pm #16797721 | |
freelancerI |
Your should to have acces right now just it is about a functions. |
March 10, 2025 at 6:17 pm #16797964 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, Thank you for waiting. In this case, you can send me a copy of your live website. It's important that I can check the issue exactly like it's happening on the live website, so that's the best solution. You can find the details on how to do that here: https://wpml.org/pt-br/faq/provide-supporters-copy-site/ If it doesn't work with Duplicator, you can use the All In One WP Migration plugin and share the backup file with me. I'll investigate further. Thank you. |
March 11, 2025 at 3:42 pm #16802700 | |
freelancerI |
Hello, You TC 01: Test Description: Testing steps: Expected Result: Actual Result: As I mentioned above since my first language is Albanian and on my template/theme first language is in English which makes sense I don't know how to translate some widget elementor, as in the screenshot Screenshot_TC01_01 to replace text "Submit Listing" with "Shto Listimin" or Should I translate in the WPML-String Translation? |
March 11, 2025 at 6:12 pm #16803526 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, First things first, since your primary language is Albanian, the button must be in Albanian, "Shto Listimin". The header wasn't available for translation, because it was set as not translatable in the settings. Also, the button comes from your theme and was not registered for translation. Basically, your theme requires additional configuration. Please make sure to have a full website backup and follow these steps: 1. Go to WPML > Settings > Custom XML Configuration and add the code below: <wpml-config> <elementor-widgets> <widget name="apus_element_submit_btn"> <fields> <field>button_text</field> </fields> </widget> </elementor-widgets> </wpml-config> 2. Go to WPML > Settings > Post Types Translation and set "Header Builder (apus_header)" as Translatable. Check image; That's it, that should solve it. I recorded a video showing some of the steps: Let me know. |
March 12, 2025 at 10:56 am #16806447 | |
freelancerI |
Hello Lucas TC 02: Expected Result: Actual Result: To solve this I navigate to the : Let me know if I did something wrong with two options solutions or if have another solution that works well. |
March 12, 2025 at 4:07 pm #16808259 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, I've updated the custom XML. Can you please check if the texts are now available for translation, as expected? Let me know. |
March 12, 2025 at 5:19 pm #16808693 | |
freelancerI |
Hello Andrea, text of the Drop down of the Filter field doesn't display correct based on the language choose. There dropdowns fields not editable translate in the homepage. |
March 12, 2025 at 5:37 pm #16808749 | |
Lucas Vidal de Andrade Supporter
Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
The conditions come from an external source (Listings > Conditions). You created the condition in English. Check image attached. Change its name into Albanian, since your primary language is in Albanian, and it should be solved. As I said previously, you should always create content in Albanian, because you chose your website's primary language to be Albanian. You can then translate the Albanian content into English (your secondary language). Any other questions? |
March 12, 2025 at 6:09 pm #16808801 | |
freelancerI |
Hi Andrea, |