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
Hi !
Amazing job on this library, it is so usefull.
Howerver I'm strugling will one thing : does the ToString function support units in other languages ?It does support english units (KB, MB, GB), but I'm having trouble with french.
In french a byte is called an "octet", so the units are writen like "Ko", "Mo", "Go"...
I can do something like myByteSize.ToString("GB").Replace("GB", "Go")
but it's not very clean.
Am I missing something ?
If not, any chance to see an internationalization feature in the future ?
Thanks :)
The text was updated successfully, but these errors were encountered:
Hello @omar, do you still maintain this repository?
If not, do you accept PRs? I see there is still one pending from May.
This i16n feature is rather important, considering French and Cyrillic languages (to name a few) do not use these units.
@NJullienSweet, yes I accept PRs and have accepted multiple ones already. The one in May has my feedback on it which needs to be addressed by the author before I merge it in.
If you have time to implement i18n, happy to review and merge it in.
Hi !
Amazing job on this library, it is so usefull.
Howerver I'm strugling will one thing : does the ToString function support units in other languages ?It does support english units (KB, MB, GB), but I'm having trouble with french.
In french a byte is called an "octet", so the units are writen like "Ko", "Mo", "Go"...
I can do something like
myByteSize.ToString("GB").Replace("GB", "Go")
but it's not very clean.
Am I missing something ?
If not, any chance to see an internationalization feature in the future ?
Thanks :)
The text was updated successfully, but these errors were encountered: