Support

Home Forums Event Espresso Premium How to get the .po file

How to get the .po file

Posted: December 5, 2019 at 8:29 am

Viewing 19 reply threads


abyaute

December 5, 2019 at 8:29 am

Hi

I would like to have the .po file of the translation that was delivered in the free plugin I downloaded about 3 weeks ago. Since then I bought the premium. The file I downloaded on glotspress is not much translated into French, the one included in the plugin is better translated.

I do not have the .po in the languages ​​folder so I can not change the one I have.
Thank you in advance,
Regards


Tony

  • Support Staff

December 5, 2019 at 8:44 am

Hi there,

The repo the plugin uses is available here:

https://github.com/eventespresso/languages-ee4

However, those languages files should actually have fewer transactions than GlotPress.


abyaute

December 5, 2019 at 9:13 am

Thank you for your prompt response.
However I’m sorry but when I click on download, it only opens a new window (https://raw.githubusercontent.com/eventespresso/languages-ee4/master/event_espresso-en_EN.po) but does not allow me to download it … I tried with other languages ​​in .po it’s the same. There are only .mo that can be downloaded.


Tony

  • Support Staff

December 5, 2019 at 10:37 am

You’ll need to right-click and ‘save as’ when on the above view.

When saving the file make sure you remove the .txt extension.

Save the file to your machine and you’ll have the .po file.


abyaute

December 5, 2019 at 12:13 pm

The extension .txt does not appear during the recording … so I have a text file and not .po


Tony

  • Support Staff

December 5, 2019 at 12:16 pm

Then simply change the .txt extension to .po

Is your system set to show file extensions?

https://www.howtohaven.com/system/show-file-extensions-in-windows-explorer.shtml

https://www.idownloadblog.com/2014/10/29/how-to-show-or-hide-filename-extensions-in-os-x-yosemite/


abyaute

December 5, 2019 at 12:27 pm

Ok that was the problem! thank you ! I will go see if the translation is good.
Good night


abyaute

December 5, 2019 at 1:38 pm

I checked the downloaded .po, it is not as translated as the .mo which was in the download of the plugin …
I really need to adapt the text of the registration pages and this was my only solution. I will not repeat the entire translation, it would be too long. It’s a pity that there is not the corresponding .po in the languages ​​folder, we would avoid all that…

THanks


Tony

  • Support Staff

December 6, 2019 at 1:48 am

My apologies, but I’m not sure I understand. What is missing?

The PO files in that repo are from our GlotPress project, both the PO and MO file were downloaded from the same source so they should match.

EE downloads the MO file for a locale from the above repo into your site, so if you had translations automatically downloaded previously it was/is from the above repo.


abyaute

December 6, 2019 at 3:22 am

This reply has been marked as private.


abyaute

December 6, 2019 at 3:22 am

This reply has been marked as private.


abyaute

December 6, 2019 at 3:23 am

This reply has been marked as private.


abyaute

December 6, 2019 at 3:25 am

I would like to change the text of: “Information importante à propos de votre paiement – Effectuer un paiement en utilisant un transfert de fonds de votre banque”


Tony

  • Support Staff

December 6, 2019 at 3:32 am

Information importante à propos de votre paiement

Is a header within EE core and can either be translated:

https://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_fr/?filters%5Bterm%5D=Information+importante+%C3%A0+propos+de+votre+paiement&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc

Or there is a filter avaiable to change it:

FHEE__EE_SPCO_Reg_Step_Payment_Options___payment_method_billing_info__payment_method_info

Effectuer un paiement en utilisant un transfert de fonds de votre banque

Is the ‘description’ field of the Bank payment method, you edit that directly within EE.

Event Espresso -> Payment methods -> Bank -> Description

https://monosnap.com/file/QdbM82ZYQMcgwaLYokeSdXCivypOLa


abyaute

December 6, 2019 at 6:09 am

Ok thanks, I could change the text: “Effectuer un paiement en utilisant un transfert de fonds de votre banque”.
For the title “Information importante à propos de votre paiement”, when I arrive on the translation page, I can not change the text, it asks me to connect. With which codes?
Otherwise I do not know how to change the filters…


Tony

  • Support Staff

December 6, 2019 at 1:40 pm

You already have the PO file on your site, correct?

Just edit the translation within that.

Which PO file are you currently using?


abyaute

December 7, 2019 at 2:13 am

No in folders there is only .mo file!
The .po file you proposed to me is not translated as well !! If I use glotspress, I will lose some of the translation!


Tony

  • Support Staff

December 9, 2019 at 4:18 am

No in folders there is only .mo file!

Yes, but did you not download the .PO file from the language repo earlier at the beginning of this thread?

The .po file you proposed to me is not translated as well !!

So you do have the PO file?

The MO file you are using on the site was generated using the PO file in the repo, if the translation is not in the PO file, its no in the MO file. EE isn’t pulling the translation from anywhere else but the MO file I link to unless your loading your own version in /wp-content/uploads/espresso/languages/.

If I use glotspress, I will lose some of the translation!

Why will you lose translations?

The PO/MO files in the language repo were built from the Glotpress project, they are a little outdated now and will need to be updated to match the GlotPress project that project has all of the latest strings.

So the GlotPress project is more up to date than the language repo, it has all of the translations that were applied in the previous version but also has additional strings that have been added to EE since they were generated.

The Glotpress translation for French is available here:

https://translate.eventespresso.com/projects/event-espresso-4/fr/event-espresso-fr_fr/

If there are missing translations from the repo PO/MO that are not translated in GlotPress can you please provide an example of them and I will investigate why.


abyaute

December 9, 2019 at 7:22 am

Yes, but did not you download the .PO file at the beginning of this thread?

Yes, I downloaded it from glotspress, but the translations are not all done compared to the compiled file I had !!

Why will you lose translations?

Because it is less well translated!

When I install the new compiled file according to your .po, I have English words again that appear.

I think it’s easier to translate the missing expressions.


Tony

  • Support Staff

December 9, 2019 at 11:52 am

Without some examples, I don’t know what I am looking for.

Which strings are not translated that previously were?

As mentioned, the MO file EE automatically downloads if from our GlotPress project, its an older version but still, it is from the same project. So if strings aren’t showing translations in the ‘latest’ version I can investigate why.

When I install the new compiled file according to your .po, I have English words again that appear.

I’m sorry but you keep alternating between the 2 sets of instructions, is this the .PO from the language repo or GlotPress?

I need some examples so I know what I’m looking for, otherwise I can’t help.

I think it’s easier to translate the missing expressions.

If that is what you prefer to do, but again, I’m more than willing to help find the cause but I can’t without examples.

Browsing through the PO file from the language repo and the PO file from GlotPress I mostly the same strings translated. The GlotPress file has some ‘newer’ strings with and without translations but right now I have no idea where to look.

Viewing 19 reply threads

The support post ‘How to get the .po file’ 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.

Event Espresso