Bug in Momanager

versatile 64-bit multi-user Linux distribution


Moderators: kirk, jamesbond, p310don, JakeSFR, step, Forum moderators

Post Reply
User avatar
don570
Posts: 772
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 145 times

Bug in Momanager

Post by don570 »

Bug in Momanager

A warning when using Momanager for more than one foreign language.
For example I was translating the menus of a program into seven languages --->
simplified Chinese
French
German
Italian
Portuguese
Russian
Spanish

After making the mo file for one language I would change the locale and
make the mo file for another language. It seemed to work fine but I then
realized that Momanager hadn't recognized the change in locale that I had made,
and had overwrite the previous mo file I had made. Very irritating :thumbdown:

EDIT: actually Momanager has recognized the change of locale but filled in the PO file wrong

Fortunately I quickly realised that the problem lies in temporary files that are hidden in a folder in /tmp
named 'momanager'

I delete this folder before I launch Momanager and everything works are expected.
_______________________________________________

Last edited by don570 on Tue Feb 14, 2023 9:55 pm, edited 1 time in total.
step
Posts: 576
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 63 times
Been thanked: 213 times
Contact:

Re: Bug in Momanager

Post by step »

don570 wrote: Mon Feb 13, 2023 10:02 pm

Bug in Momanager

A warning when using Momanager for more than one foreign language.
For example I was translating the menus of a program into seven languages --->
simplified Chinese
French
German
Italian
Portuguese
Russian
Spanish

After making the mo file for one language I would change the locale and
make the mo file for another language. It seemed to work fine but I then
realized that Momanager hadn't recognized the change in locale that I had made,
and had overwrite the previous mo file I had made.

Thanks for your report. I need to ask:
When this issue was happening, and you changed the locale, did you also exit and restart Momanager each time?
Do you also translate with Momanager in Puppies, Dogs, EasyOS? If so, did you ever experience this issue there?

Very irritating :thumbdown:

Agreed.

Fortunately I quickly realised that the problem lies in temporary files that are hidden in a folder in /tmp
named 'momanager'
I delete this folder before I launch Momanager and everything works are expected.

Do you exit Momanager, change locale, need to delete /tmp/momanager, and restart Momanager for the next language each time?

User avatar
don570
Posts: 772
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 145 times

Method to translate ptmtimer

Post by don570 »

Do you exit Momanager, change locale, need to delete /tmp/momanager, and restart Momanager for the next language each time?

Yes , that is what I recommend for fatdog64. I'll have to check with other distros.

From memory here is what happened....
I start the first translation by launching Momanager from start menu. The TEXTDOMAIN is 'ptmtimer' to speed things up.
I save finished PO file in Geany, then quit Geany. I get a 2 choices , to save a MO file or not to save a MO file. --->
I save the new MO file.
I believe that Momanager automatically quits when Geany quits??? However there is still a folder /tmp/momanager

I use fatdog's 'Change locale app' to change to a new language. There is standard warning that data will be lost.
RestartX occurs. I check with the terminal that the change of locale has occurred.

From start menu I launch Momanager . The TEXTDOMAIN is 'ptmtimer'. Geany automatically launches however I notice that
PO file is already filled in with the translations but they are the previous language. This is dangerous since if I do a save from Geany
I will have a bad translation of my second language.

So my recommendation is to make sure that the folder /tmp/momanager is deleted before launching Momanager and multiple translations goes smoothly. :thumbup2:
________________________________________________________

User avatar
don570
Posts: 772
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 145 times

Momanager fixed

Post by don570 »

I checked Momanager in Easy OS and discovered the following....

There are two versions of momanager in Easy OS --->
newer version named momanager and old version named momanager0

I first tested the new version (momanager)
and I discovered the same problem with Geany filling in the wrong language translations.

The good news is the old version (momanager0) works well!!! I can recommend it. :thumbup2:
_________________________________________________________

step
Posts: 576
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 63 times
Been thanked: 213 times
Contact:

Re: Bug in Momanager

Post by step »

Thanks for your report.

Post Reply

Return to “FatDog64”