DataTables / DataTables/Plugins
[Internationalization] Some languages use the incorrect specifiers for replacing data (%d instead of _START_, etc)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I found out that some of the translations use the %d formats, instead of the START, END or other special elements that indicate number of records, total of records, etc. This is especially notable on the spanish translations.
This is how it looks using the default english localization. Notice it shows the correct amount of records in the datatable.

Now, if we load the spanish localization provided by DataTables (es-CO).

This is not the case for all the languages. For example, the German localization (de-DE)

In my case, for now, I'll have to implement my own localization, instead of the one provided by DataTables.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Spanish es-CO localization entries and compare their record-count placeholders with the default English and German de-DE localizations. Correct the affected placeholders to use the documented START, END, and related elements, then verify that the Spanish localization renders record counts correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- internationalization, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100