This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

questions

  • *****
  • 319 posts
Hello,

After downloaded all the lang_LANG files locally and repalced all of them with POedit, then validated, compiled to MO, uploaded to their location back, everything WORKS PERFECT.

If I want to translate something from back-office anymore, it does the translations, the save button says Translations has been updated, but the translation stays the same.

Have tried for epsilon, core, messages, everything works fine, says Translations has been updated and also does the translations.

This is only for the osclass_pay plugin which I downloaded and translated with POEdit locally. So he does says Translations has been updated, but the translations does not happens, gets back the the initial version that I did locally.

Any idea? Did anybody had this issue before? It only works locally now.

Thank you,

*

MB Themes

Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #1 on: February 07, 2023, 06:43:39 PM »
Php max input wars, what value have you there?
Osclass pay has a lot of translations, you need this value to at least 5000 probably
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #2 on: February 07, 2023, 07:03:01 PM »
Php max input wars, what value have you there?
Osclass pay has a lot of translations, you need this value to at least 5000 probably

Hi,

It was 1000. Now I changed it to 5000 in /etc/php.ini

PHP version: 8.0.27

Memory limit: 128M

Max execution time: 30s

Upload max file size: 2M

Max input vars: 5000

Allow URL Fopen: Enabled

Still not working. Apache restarted.

Edit: Changed to 50000, still does not works. Trying to translate the first line of osclass_pay plugin just for test. It saves with success but then it stays as it was before, so no translation happened.

This only happens for this plugin. If I change any line for core messages theme or epsilon translations it works fine.

Also the osclass_pay plugin default en_US translations saves the values I enter. Only for mylang_MYLANG which I did with POEdit doesn't saves the translation.

Any idea?
« Last Edit: February 07, 2023, 07:06:15 PM by questions »

*

questions

  • *****
  • 319 posts
Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #3 on: February 07, 2023, 07:43:35 PM »
Did this with the blog too

created the folders under linux instance .. mylang_MYLANG -> I was able to translate from back-office

now downloaded mylang_MYLANG and translated quickly with POEdit which I bought too -> I am not able to translate from back-office...

Help? ???

*

MB Themes

Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #4 on: February 07, 2023, 09:17:23 PM »
Can you share PO file?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #5 on: February 08, 2023, 10:14:34 AM »
Checked with your PO file, everything works as expected.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #6 on: February 08, 2023, 11:08:54 AM »
Hi,


Yes it works, but when I save the po Files I edit locally when I translate them from back-office the translation Reverts as to the one I did locally does not changes.

If I do for core which I translated only in back office the translation works fine.

What May be?

*

MB Themes

Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #7 on: February 08, 2023, 07:00:03 PM »
Always keep both PO and MO files.
Po is catalog and not source for osclass, but is source for translations.
Mo is source for osclass.
Mo is generated from Po
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

questions

  • *****
  • 319 posts
Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #8 on: February 08, 2023, 09:29:51 PM »
Still can't do the translations in back-office, only for the files I translate with POEdit locally. For the ones already pre-built the translations works fine.

Marked as best answer by questions on February 09, 2023, 11:48:01 AM
*

questions

  • *****
  • 319 posts
Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #9 on: February 09, 2023, 11:47:58 AM »
It was because the translation folder mylang_MYLANG had root permissions from windows instead of apache from Linux.

Thank you!

*

MB Themes

Re: Not saving! Admin / International / Translations / plugins/osclass_pay
« Reply #10 on: February 09, 2023, 02:11:09 PM »
@questions
Thanks for sharing this info ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots