(Bug) Missing i18n bindings across multiple tool pages
Description
While testing the French translation, I noticed that several tools still display English text even though translations already exist in the locale files.
After investigating, I found that many tool pages contain hardcoded fallback strings in the HTML, and some UI elements are not connected to the i18n system through data-i18n.
As a result, parts of the interface remain in English when French is selected.
Examples observed
- Merge PDF
- File Mode
- Page Mode
- How it works
- Merge PDFs
- Leave blank for all pages
There may be similar occurrences in other tool pages as well.
Expected behavior
All user-facing strings should be linked to the i18n system and use existing translation keys where available.
Additional notes
I verified that translations already exist in the locale files for some of these strings, but the corresponding UI elements are not always bound to i18n.
Steps to Reproduce
- Open BentoPDF.
- Change the application language to French.
- Open various tools (e.g. Merge PDF).
- Observe the interface labels and buttons.
Actual behavior
Some user-facing strings remain in English, for example:
- File Mode
- Page Mode
- How it works
- Merge PDFs
- Leave blank for all pages
After investigating the source code, some strings appear to be hardcoded in tool pages under src/pages/ and are not always connected to the localization system through data-i18n.
Expected behavior
When French is selected, all user-facing strings should be translated consistently across all tools.
Additional information
The issue does not appear to be limited to the Merge PDF tool. Similar occurrences may exist in other files under src/pages/.
Some translations already exist in the locale files, which suggests that certain UI elements may be missing i18n bindings or are not using the existing translation keys.
Console Logs
No error found.Sample PDF or File
Browser
Chrome
Browser Version
120
Operating System
Windows
BentoPDF Version
latest (2.8.6)
Additional Context
No response
Pre-submission Checklist
- I have included console logs from the browser DevTools
- I have attached a sample file or described how to reproduce the issue
- I have searched existing issues to ensure this is not a duplicate
Source: alam00000/bentopdf