F
Filament11mo ago
Hdev

Arabic number translation

Hello , i'm using Arabic in the admin panel but the numbers also changed to Arabic format, but i don't want that. please how i can make the numbers still in the normal English format? Thank you.
No description
8 Replies
Vp
Vp11mo ago
Publish arablic translation and edit accordingly
Hdev
HdevOP10mo ago
i published the translations but i didn't find the numbers !!!
awcodes
awcodes10mo ago
This isn’t something to do with Filament. You’re going to need a way to do this at the laravel level since that’s where the translations happen.
azog
azog10mo ago
is there a way to override this Filament helper function? (filament/packages/support/src/helpers.php)
No description
Lara Zeus
Lara Zeus10mo ago
change the font use a font that provide english numbers you can search in google fonts for many alternatives if the reason is the same as the OP just try to change the font ya sorry did some test and format_number dose overwite the fonts too
azog
azog10mo ago
@Lara Zeus Thank you for your help; is there any way to edit this option from a predefined Filament function?
Lara Zeus
Lara Zeus10mo ago
dont know a direct way, sorry didnt have the time to propose a PR yet, will try soon
Sdeev
Sdeev9mo ago
@Hdev did find any solution ?
Want results from more Discord servers?
Add your server