[ASTPPCOM-858] .po and .mo files translations Created: 28/Dec/21 Updated: 17/Jun/22 Resolved: 03/Feb/22 |
|
| Status: | Closed |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Danilo Borges | Assignee: | Ashish Gohil |
| Resolution: | Done | Votes: | 1 |
| Labels: | bug_confirmed | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Reproducibility: | always |
| Category: | UI |
| Edition: | Community |
| Description |
|
After a lot of work I discovered the error in ASTPP, when we change the translation and click Update Languages it only changes the file /opt/ASTPP/web_interface/astpp/language/pt_BR/LC_MESSAGES/messages.po but the translation will only work if the file with the extension .mo is also generated (messages.mo) it is generated from messages.po , and I don’t know why astpp only changes the messages.po file |
| Comments |
| Comment by Neetu Nogia [ 30/Dec/21 ] |
|
Hello Danilo Borges Goodday, Which language are you translating, Can you please let us know. Thank You |
| Comment by Ashish Gohil [ 30/Dec/21 ] |
|
Hello Danilo Borges, in which language you got error and what kind of translation is not done in your portal? and please let us know for whole portal you didn't get translation of language or for any specific words. and please let us know the ASTPP version you are using. Thanks Ashish Gohil |
| Comment by Danilo Borges [ 30/Dec/21 ] |
|
Hi, the language is Portuguese, but the error happens in any language. ASTPP version 5. |
| Comment by Ashish Gohil [ 31/Dec/21 ] |
|
Hello Danilo Borges, i didn't get you perfectly, can you please share any screenshot or details about it? or is there any issue in translation for specific words or whole portal is not translating? Thanks and regards Ashish Gohil |
| Comment by Danilo Borges [ 31/Dec/21 ] |
|
Any changes I make to Configurations>>>Languages>>>Translations in any language are not reflected on the site! Thanks and regards
|
| Comment by Ashish Gohil [ 03/Jan/22 ] |
|
Hello Danilo Borges, we are provide on .mo file only words which we have already created for translation. and from your end if you are adding new words form configuration->language->translations, that words only add in to .po file, so only .po file will updated after adding words form translations. if anything else please let us know. Thanks and regards Ashish Gohil |
| Comment by Danilo Borges [ 03/Jan/22 ] |
|
Hello Ashish Gohil, Thanks and regards |
| Comment by Ashish Gohil [ 03/Jan/22 ] |
|
Hello Danilo Borges, as you change or add both thing not added into .mo file, because that file is fix with our created words, if you modified anything or add anything then it will take as a new word for that and update only in .po file. Thanks and regards Ashish Gohil |
| Comment by Danilo Borges [ 03/Jan/22 ] |
|
So please let me know how to carry out the translation fixes in the client and administrative area, as I've already tested both on Centos and Debian, and it doesn't work! |
| Comment by Ashish Gohil [ 04/Jan/22 ] |
|
Hello Danilo Borges, Can i have the words which not translated on your server or can you please share screenshots for the same on which words not translated so i can check for it accordingly to your issue. Thanks and Regards Ashish Gohil
|
| Comment by Danilo Borges [ 04/Jan/22 ] |
|
Hello Ashish Gohil, The words are already translated, but the words are translated into Portuguese from Portugal, and the right thing would be Portuguese Brazil!
The correct one would be below:
This would be just 1 example, there are more than 50 word changes to be made, most in the client area.
See another error I found in the Portuguese language in the administrative area: when I'm going to add credit for the client, I enter the amount and it simply stays stopped at the confirmation screen and the credit is not added!
Thanks and Regards |
| Comment by Ashish Gohil [ 05/Jan/22 ] |
|
Hello Danilo Borges, You can change words translation from your end, as we are using google translated words and as per google translated words we put that words on translation, so if you find any mismatch words then you can change that accordingly and you can send PR for that as well. and for recharge on Portuguese language error, we will work for it and resolve it soon and update you. Thanks and regards Ashish Gohil |
| Comment by Ashish Gohil [ 05/Jan/22 ] |
|
Hello Danilo Borges, as i was checked on our server ASTPP v5, recharge can done on Portuguese language, can you please pull the source and check again. Thanks and regards Ashish Gohil |
| Comment by Neetu Nogia [ 17/Jun/22 ] |
|
Hello We are closing this ticket as haven't got a response back on this ticket for a few days. Kindly re-open it if you will have any queries in the future by relying on it. Regards, |