I have a project that will be in Arabic (RTL) only. Do I have to set up my
site/languages/ar.php? I want the Panel and frontend to be in Arabic.
Sure, you can use like that
return [ 'locale' => 'ar_SA', 'panel' => [ 'language' => 'ar' ] ];
And frontend usage on template
<html class="no-js" lang="ar" direction="rtl">
I’m guessing I don’t need to have the
No if you don’t need store translations as array in
site/languages/ar.php. But if you plan to add languages in the future, I suggest you use it.