Simplify translation process with Weblate
rob006 Looks great, seeing all changes on a single page is a really a game changer.
Hello :-)
Thanks for this great opportunity to translate.
A few months ago, I had translated a large part of the forum and some extensions into Arabic using FoF Linguist.
Recently, most of the extensions are no longer available in it -FoF Linguist-, and after searching I found this discussion a few days ago, and I started working on translating it into Arabic.
I have two questions please:
The first question: After entering the translations in the “Weblate”, what is required of me after that in order for the translation to be applied?
The second question: I want, for example, to insert translations for my own forum (which contain phrases that may not apply to other Flarum forums), is there a possibility for that?
Once again Thank you :
Medelinor The first question: After entering the translations in the “Weblate”, what is required of me after that in order for the translation to be applied?
It takes about 1 hour to export translations from Weblate to language pack. But you may need to use composer require "flarum-lang/arabic:dev-master"
command to install it (by default Composer installs only tagged versions, which probably will not contain your new changes).
Medelinor The second question: I want, for example, to insert translations for my own forum (which contain phrases that may not apply to other Flarum forums), is there a possibility for that?
You may take a look at this blog post: https://rob006.net/en/blog/how-to-change-or-add-missing-translations-for-flarum/
rob006 you may need to use composer require "flarum-lang/arabic:dev-master".
This was a really helpful answer. Thank you.
I may not be very experienced in managing the forum, can you give me a hint or instructions on how I can use composer require "flarum-lang/arabic:dev-master"
?
Thanks in advance
Medelinor The second question: I want, for example, to insert translations for my own forum (which contain phrases that may not apply to other Flarum forums), is there a possibility for that?
You can continue using Linguist for your site-specific translations. If you find any issue with Linguist, please report them in the Linguist discussion. It's supposed to work with all extensions as long as they use the official Flarum API to register their translations.
clarkwinkelmann Hello
Thank you very much.
Indeed, I think there is a problem with the tool, because it does not show me all the installed extensions on the forum.
I will share this in theLinguist discussion extension as you advised me.
Thank you very much once again
Hello
I have translated many extensions and admin module in the forum using this tool.
Now, I've downloaded those translations and want to contribute them to all Flarum users who use that language.
Is there a way to send these files?
- Edited
Hey @rob006, being able to do the releases with the bot is really cool, very grateful with that, I wanted to ask you if it's possible to change the versioning for the spanish package (not sure if I can do it myself somehow), so they become normally minor versions instead of 1.5.0
->1.4.1
, is that possible?
Darkle What do you mean by "normally minor versions"? 1.5.0 is a minor release according to semver.
If you want to release 1.4.1 by flarum-lang/spanish14, what should trigger release of 1.5.0?