How To make Dashboard RTL ?

I want to make my Admin Dashboard RTL to use a Persian Lang!
6 Replies
Baby Yoda
Baby Yoda2w ago
Tanks i did , I didn't know it should be layout.php in the lang dir . 👍
Baby Yoda
Baby Yoda2w ago
Do you know hot to change the navigation (here Certificates) as well?
No description
toeknee
toeknee2w ago
You mean the label/title string?
public function getTitle(): string|Htmlable
{
return __('certificates');
}
public function getTitle(): string|Htmlable
{
return __('certificates');
}
on the list php file of each resource Actually I think you can add the language strings and they are auto-translated
toeknee
toeknee2w ago
GitHub
Translation with language file · filamentphp filament · Discussion ...
Package filament/filament Package Version v2.0 Laravel Version v9.2 Livewire Version v2.6 PHP Version PHP 8.1.4 Bug description I try to translate a resource name using a language files (lang/fr.js...
Baby Yoda
Baby Yoda2w ago
i got it! Tanks again, Actually i meant getPluralLabel() and getModelLabel() , but getTitle() was handy as well!🔥