You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
One translation key labels both a Customer heading and an Add button #446
<spanid="expenses_title"><langclass="lang_Addexpensing">Add</lang></span> <langclass="lang_expensing">Cash Book Entry</lang>
So one key has to be both the word "Customer" and the word "Add". No language can satisfy that.
Tamil currently renders புதிய ("new") for it, which is wrong in both places — the customer screen shows "new" where it means "Customer", and the expense modal reads "New Cash Book Entry" where the English says "Add Cash Book Entry". The second one is nearly right by luck, which is how it survived.
The fix
Give the customer heading its own key. lang_customer_title already exists and may be exactly right — check the surrounding markup for what the heading should read.
Leave lang_Addexpensing on the expense modal, or rename it to something that says what it is. The name suggests it started life there.
Update languages/ta.json accordingly, and any other pack with a word for it.
node tests/tools/i18n-coverage.js and node --test tests/i18n.test.js should stay clean.
Good first issue because
Two lines of markup and one language file. No build knowledge needed.
Worth checking while you are in there
These two were found by looking for one English string translated two different ways. There may be more of the same: node tests/tools/i18n-coverage.js --review ta lists them, and about 27 came up. Most are harmless (the tag wraps only part of a phrase), but a few are this bug.
I’d like to work on this issue. I’ll first check the customer and expense markup to confirm how lang_Addexpensing and lang_customer_title are currently being used.
I’ll give the Customer heading its own translation key, keep lang_Addexpensing for the expense modal, and update the Tamil language pack so both strings display their correct meaning.
I’ll then run node tests/tools/i18n-coverage.js and node --test tests/i18n.test.js to verify that the translation changes are correct and don’t introduce any coverage or localization issues.
Thanks for the clear plan. You are still assigned to #161, so please keep that as your one active issue for now. Once its PR is open and review feedback is settled, come back here and we can assign this translation fix.
Hi Posnic Team,
I'm interested in working on issue #446 as my first open-source contribution.
I'd like to fix the translation key conflict between the Customer heading and Add button.
Could you please assign this issue to me?
Thank you!
Thanks for volunteering, @RNisitha, and sorry for the delayed reply. Please start by checking whether the conflict still reproduces on current develop, and share the affected markup and translation keys here. The earlier expression of interest did not become an assignment, so there is no current assignee.
Keep this as one focused contribution: separate the heading/button keys, preserve the expense label, and run the relevant i18n coverage and regression tests. If it is already fixed, please report what you found instead of creating duplicate changes. Once the current scope is confirmed, we can assign it to you.
Thanks, @RNisitha, for checking current develop and avoiding duplicate changes. Your source findings suggest the original key conflict is already addressed, but runtime/regression verification is still pending, so we should not call it fully verified yet. A useful focused contribution would be to run node tests/tools/i18n-coverage.js and node --test tests/i18n.test.js, check the two labels in the UI, and report results here; only add a regression test if coverage is missing. If you prefer documentation work instead, #434 is currently unassigned: read its scope and comment there before starting so we can confirm availability. Please keep one contribution active at a time.
Activity
Sj14122004 commentedon Sep 4, 2026
Hi @sridharkalaibala,
I’d like to work on this issue. I’ll first check the customer and expense markup to confirm how lang_Addexpensing and lang_customer_title are currently being used.
I’ll give the Customer heading its own translation key, keep lang_Addexpensing for the expense modal, and update the Tamil language pack so both strings display their correct meaning.
I’ll then run node tests/tools/i18n-coverage.js and node --test tests/i18n.test.js to verify that the translation changes are correct and don’t introduce any coverage or localization issues.
I’d like to be assigned to this issue.
sridharkalaibala commentedon Sep 4, 2026
Thanks for the clear plan. You are still assigned to #161, so please keep that as your one active issue for now. Once its PR is open and review feedback is settled, come back here and we can assign this translation fix.
RNisitha commentedon Nov 16, 2026
Hi Posnic Team,
I'm interested in working on issue #446 as my first open-source contribution.
I'd like to fix the translation key conflict between the Customer heading and Add button.
Could you please assign this issue to me?
Thank you!
sridharkalaibala commentedon Nov 19, 2026
Thanks for volunteering, @RNisitha, and sorry for the delayed reply. Please start by checking whether the conflict still reproduces on current
develop, and share the affected markup and translation keys here. The earlier expression of interest did not become an assignment, so there is no current assignee.Keep this as one focused contribution: separate the heading/button keys, preserve the expense label, and run the relevant i18n coverage and regression tests. If it is already fixed, please report what you found instead of creating duplicate changes. Once the current scope is confirmed, we can assign it to you.
RNisitha commentedon Nov 29, 2026
Hi @sridharkalaibala,
Apologies for the delayed response.
I checked the current develop branch and found that the original translation key conflict appears to have already been resolved.
frontend/modals/customer.html:786 now uses lang_newcustomer_title.
frontend/modals/expense.html:4 now uses lang_nav_add for Add and lang_cash_book_entry for Cash Book Entry.
The corresponding keys are present in languages/ta.json.
Runtime verification and regression tests are still pending. I have not made any duplicate changes.
Please let me know if there is another suitable issue I can contribute to.
Thank you for your guidance!
sridharkalaibala commentedon Nov 30, 2026
Thanks, @RNisitha, for checking current develop and avoiding duplicate changes. Your source findings suggest the original key conflict is already addressed, but runtime/regression verification is still pending, so we should not call it fully verified yet. A useful focused contribution would be to run node tests/tools/i18n-coverage.js and node --test tests/i18n.test.js, check the two labels in the UI, and report results here; only add a regression test if coverage is missing. If you prefer documentation work instead, #434 is currently unassigned: read its scope and comment there before starting so we can confirm availability. Please keep one contribution active at a time.