szabovalentin Hello ! The fact that missing translations aren't outputted in English is because of flarum/core1774
You have a few options to complete the translations yourself:
If only a few strings are missing, you can use the Flagrow Linguist extension to easily translate them from inside Flarum
If there is a whole extension that isn't translated, you could do the following:
- Fork the language pack, add the missing translations, and either use that fork or create a PR to submit your changes to the language pack
- Fork the extension, add the missing translations, and send a PR for the extension to accept it. Not all extension developers accept translations that way though
- Create your own translation extension. You can create an extension that only registers a locale file that contains your extension. If you don't plan on re-using it outside of your own forum, you can even do it right from the Forum
extend.php
file.
For this last solution, you could create a new folder in your Flarum install, like <flarum root>/locale
, then create a file named <locale>.yml
inside of it. Then in extend.php
, add new Extend\Locales(__DIR__ . '/locale')
inside the array of extenders. in the yml
file, you can copy the english translations of the extension and start working on it. I didn't test these steps but it should be mostly it.
Not sure what site_core.php
is. I don't think there's such a file in Flarum ?