I am trying to follow the documentation here, but I can't seem to get it right - https://docs.flarum.org/extend/language-packs
I know I can install a language pack, but I found so many translations that I would like to update, that a custom language pack would make more sense.
In the documentation I linked above, it says to create a new directory under the locale
directory. I'm guessing that's supposed to be under storage/locale
?
Do I put the extend.php
file in the language folder alongside the .yml files?
Then, in the composer.json
section - do I add the language in the composer.json root or under an "extra" keyword?
After I do all that, do I need to enable the new language in the admin panel?
I guess I would appreciate a step by step process for this, because the official documentation doesn't really explain much.