Posted: June 3, 2020 at 6:11 am
I have two German-language sites using EE 4.10.6.p. On one site, some of the texts are displayed in English (e.g Transaction Details) although they are correctly translated in the .po and .mo files in wp-content/uploads/espresso/languages. Am I doing something wrong? |
|
Is it the exact same PO/MO file used on both sites or you have different translations in each site’s files? |
|
They are different translations. I checked the PO/MO file on the site that doesn’t show the translations and the entries look correct. |
|
Can you send me the PO file so I can take a look, please? You’ll need to host it and just post a link to download it here. |
|
Can you see it here? |
|
Ok, so I tested the PO file you sent over and it’s working fine: https://monosnap.com/file/mtTHQsbt3nWnCb4xCG4qOfsUtcGp7N I changed the ‘Payment options’ translation to include ‘TONY’ just to easily confirm the translations loaded. So, either the site doesn’t have access to the file and can’t load or something odd is happening. What is the file path, including the full filename for the PO and MO files? Are you loading any custom EE templates on the non-working site? |
|
Well, because I have changed the default to “Not approved”, there’s really only one screen that still doesn’t show the correct text: the Registration screen shows “IMPORTANT NOTICE: EVENTS REQUIRING PRE-APPROVAL |
|
Sorry, I’m confused here. In your opening thread, you stated is the transaction details page so that’s what I’ve been checking, but here its the Pre-approval section?
What is the full filename for the MO file your testing?
I can’t access those links, but if one is the events table template the other would not affect both the transaction details AND the pre-approval section, so likely not the issue. |
|
I sent a screenshot and two template files via email to support. |
|
I have deleted the .mo file from /public_html/wp-content/plugins/event-espresso-core-reg/languages. |
|
Is that locale a typo? The filename should be If you are using the PO file you sent me to generate the MO file in use on your site I’m not sure why it isn’t working as it’s working fine for me (See HERE) Just to confirm, you are aware you need to use the PO file to generate a MO file and replace the MO on your site, correct? (I’m fairly certain you are but I can’t think of any other reasons for the translation to work for me but not you). |
|
Yes, the locale is a typo. I did modify the .po file, generate the .mo and uploaded that to /wp-content/uploads/espresso/languages/. |
|
Where is the language selected? Is it possible that the two template files call different routines, one of which loads the local language and the other not? |
|
It is loaded based on the Site Settings. Dashboard -> Settings -> General -> Site Language
No, they both lead to the same event link and the user then starts the process from there. Neither of those templates should be/are changing the site language. I ran a quick test registration on an event (not using either of the templates mentioned) and the No Approved string translates as expected. Can you link me to the specific page I need to start from to view this? |
|
I’ve just updated Beaver Builder theme AND NOW IT WORKS! |
|
The test signup page is built with BB, whereas the course signup page isn’t. Can that have been the cause? |
|
I have no idea why updating the theme fixed this, it doesn’t make much sense that it did. To clarify I’m not saying it didn’t I just can’t think of a reason that it would.
Which specific page is that? |
|
Test signup page: https://www.lernen-im-quartier.ch/aktuelle-sprachnachweis-termine/?doing_wp_cron=1591944124.8056840896606445312500 |
|
That page shouldn’t have made any difference. I’m not really sure why that happened but as it’s now working there isn’t much I can troubleshoot. |
|
The support post ‘Some texts not translated’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.