How To make Dashboard RTL ?

I want to make my Admin Dashboard RTL to use a Persian Lang!
6 Replies
Solution
Baby Yoda
Baby YodaOP6mo ago
Tanks i did , I didn't know it should be layout.php in the lang dir . 👍
Baby Yoda
Baby YodaOP6mo ago
Do you know hot to change the navigation (here Certificates) as well?
No description
toeknee
toeknee6mo 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
toeknee6mo 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 YodaOP6mo ago
i got it! Tanks again, Actually i meant getPluralLabel() and getModelLabel() , but getTitle() was handy as well!🔥
Want results from more Discord servers?
Add your server