*

7ala

  • ****
  • 144 posts
Problem with the translation file
« on: July 09, 2021, 07:20:33 PM »
strange problem
I have two translation files as you know
theme.mo file and theme.po . file
Everything works
But if you want to translate some words again
I save a lot of translation data
After some effort, I found out before saving that the theme.mo file was too big
1 MB and the theme.po file is 500 KB
If you save the file after translating, all files become 500KB

The problem is that the theme.mo file is not editable
Is there a way to edit it?

I don't know what is the cause of the problem

thank you

Marked as best answer by frosticek on July 22, 2021, 01:11:18 PM
*

MB Themes

Re: Problem with the translation file
« Reply #1 on: July 09, 2021, 07:27:16 PM »
.mo file is created based on .po file when translating via PO editor.
.mo file is not editable.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

7ala

  • ****
  • 144 posts
Re: Problem with the translation file
« Reply #2 on: July 09, 2021, 07:54:12 PM »
thanks for your reply
But I lost a lot of translation
Is there a solution to recover the deleted translation?
thank you

*

MB Themes

Re: Problem with the translation file
« Reply #3 on: July 09, 2021, 08:29:42 PM »
Do not think so, always use PO Editor
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

7ala

  • ****
  • 144 posts
Re: Problem with the translation file
« Reply #4 on: July 10, 2021, 04:19:00 PM »
Always use poedit editor
The cause of the problem may be plugin Easy Translator
I think I installed it and it didn't work
Then I removed it
I didn't realize if it was the reason or not

But I hope to find a solution to this problem

Thank you very much

*

7ala

  • ****
  • 144 posts
Re: Problem with the translation file
« Reply #5 on: July 12, 2021, 12:29:15 PM »
I found the solution
There are sites to convert the file
Convert Gettext MO files
thank you very much

*

MB Themes

Re: Problem with the translation file
« Reply #6 on: July 22, 2021, 01:11:11 PM »
@7ala
I would say simplest solution is to translate .po using PO Editor ;)
Anyway, thanks for info!
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots