Replies: 1 comment
-
Hello, Feedback : it is related to the french character "nnbsp" (narrow-non-breaking-spaces). Here is a discussion on stackoverflow : https://stackoverflow.com/questions/595365/how-to-render-narrow-non-breaking-spaces-in-html-for-windows/1570664#1570664 Nothing related to i18next. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have some troubles when formatting number into currency, especially in french.
Steps to reproduce :
Translate 10000 in EUR (french local number)
Common json file :
Translation function :
Local is set to "fr"
System behaviors
The value I get is : 10 000,00 €
Very nice, except that the space between 10 and 000 contains a special character.
When I copy paste the result in Notepad++ I get this :
This is problematic for me because I create a pdf with those translated numbers and the special caracter is visible in the PDF file :
My question are :
Here is a CodeSandBox link that reproduce the problem with the React-PDF library : https://codesandbox.io/p/devbox/cool-cdn-prvxx3?file=%2Fapp%2Froutes%2Findex.jsx%3A73%2C9-77%2C12
The special caracter is translated to "/" in that case.
Environment :
Thanks in advance for your help
Beta Was this translation helpful? Give feedback.
All reactions