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
The french translation file translate results as an empty string to compensate issues with the word basis translation but the translation function fallback to the default language when dealing with an empty string.
Usually its the right behaviour for a translation system but here it conflicts with the hacky way the translation is handled.
Describe the bug
Empty translated fields fallback to default language.
To Reproduce
Setup a paginated table with FR translation and you'll see something like :
Expected behavior
It should display :
Additional context
The issue comes from here :
gridjs/src/i18n/language.ts
Line 48 in 2d337e6
The french translation file translate
results
as an empty string to compensate issues with the word basis translation but the translation function fallback to the default language when dealing with an empty string.Usually its the right behaviour for a translation system but here it conflicts with the hacky way the translation is handled.
See issue #1416 (comment)
The text was updated successfully, but these errors were encountered: