F
Filament14mo 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
Vp14mo ago
Publish arablic translation and edit accordingly
Hdev
HdevOP14mo ago
i published the translations but i didn't find the numbers !!!
awcodes
awcodes14mo 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
azog13mo ago
is there a way to override this Filament helper function? (filament/packages/support/src/helpers.php)
No description
Lara Zeus
Lara Zeus13mo 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
azog13mo ago
@Lara Zeus Thank you for your help; is there any way to edit this option from a predefined Filament function?
Lara Zeus
Lara Zeus13mo ago
dont know a direct way, sorry didnt have the time to propose a PR yet, will try soon
Sdeev
Sdeev12mo ago
@Hdev did find any solution ?

Did you find this page helpful?