Skip to content

[17.0] account-financial-reporting: translation ar.po is showing as ????? instead of actual translation #1209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hussain opened this issue Jul 28, 2024 · 7 comments · May be fixed by #1326
Labels

Comments

@hussain
Copy link

hussain commented Jul 28, 2024

Module

account-financial-reporting

Describe the bug

translation ar.po is showing as ????? instead of actual translation
image

To Reproduce

Affected versions: 17.0

check the code line

Expected behavior
Actual translation as in 16.0

@hussain hussain added the bug label Jul 28, 2024
@risto42
Copy link

risto42 commented Dec 27, 2024

similar problem for France (fr_FR)...
diffs between 17.0 and 16.0 attached.
fr-diff.txt
fr_FR-diff.txt

@hussain
Copy link
Author

hussain commented Dec 30, 2024

It seems this is true for all translations in account_financial_report with special characters, other modules in this repo are ok!

Sample of another module in this repo without issue.

msgstr "Écritures comptabilisées + non-comptabilisées"

@pedrobaeza whom to mention to check this? I see no maintainer for account_financial_report module.

@pedrobaeza
Copy link
Member

If you provide the fix in a PR for all the translations, I'll review it and fast-track it to fix the problem, which is big IMO. I think it can be extracted from previous versions.

@hussain
Copy link
Author

hussain commented Dec 30, 2024

I can do ar.po (270 terms) in a PR this week, but the issue seems to be same for all other languages.

I'm trying to track where this started in commits, but no luck yet.

@hussain
Copy link
Author

hussain commented Dec 30, 2024

Also a quick note, I remember first time I've seen this issue there was a message in github stating some utf-16 encoding or some unusual encoding, and I clicked on something then translation showed. I seem not be able to remember to see that click.

@pedrobaeza
Copy link
Member

OK, do at least that change, thanks.

@Atteqany
Copy link

Atteqany commented May 28, 2025

the problem still
Developers should Make sure to save this file with UTF-8 encoding when they use it to prevent the encoding issues from recurring.

Atteqany added a commit to Atteqany/account-financial-reporting that referenced this issue May 29, 2025
…ption

- Replace corrupted UTF-8 characters in ar.po file
- Restore proper Arabic text display instead of question marks
- Maintains all original translation context and structure

Fixes OCA#1209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants