I'm sure there's a tutorial somewhere on this forum... You will need to create an extension. You can get inspiration from the flarum-ext-english extension on GitHub.
Of there's a discontinued extension for your language, it might be a perfect starting point to re-use what has already been done ?