GreXXL Yes. But please help me how to do it.
jsystems73 that's awesome! We will import the existing language pack to flarum-lang and add it to weblate ( @rob006). Then you can use the web-ui to start filling the gaps of the translation so it can be released for Version 1.X 😁
jsystems73 I'll handle creating repository and Weblate integration. But I need to know your GitHub and Weblate usernames in order to grant you maintainer permissions.
feel free to contact us for every problem 🙂
rob006 Helo, my user name on Github and Weblate is Rebootcodesoft
jsystems73 Helo, my user name on Github and Weblate is Rebootcodesoft
I don't see such user on https://weblate.rob006.net/
rob006 Sory, I just registered there.
Anyway, Hungarian is available on Weblate since now: https://weblate.rob006.net/languages/hu/flarum/ You don't need maintainer permissions to translate, but it may useful in long term.
I imported translations from https://github.com/manaszon/flarum-ext-hungarian, but you should probably review them, since they may be outdated. But now I see that https://github.com/teddhun/hungarian-language has more translations.
@TeddHUN Are you interested in contributing to https://github.com/flarum-lang/hungarian? I could import your translations to Weblate.
rob006 Hi, after I have translated some texts, what should I do? Please write a short step-by-step tutorial 🙂
jsystems73 Take a look at https://github.com/rob006-software/flarum-translations/wiki, https://github.com/rob006-software/flarum-translations/wiki/Features and https://github.com/rob006-software/flarum-translations/wiki/How-to-start#whats-next
You should also have maintainer permissions since now, so you can mark translations as approved.
Thank you. I can install the hungarian language for testing, on my Flarum copy?
jsystems73 composer require flarum-lang/hungarian:dev-master should install the most recent version.
composer require flarum-lang/hungarian:dev-master
rob006 Hello! Where is the English text for example => core.ref.log_out there what to do?
jsystems73 You probably should copy source to translation, since these strings usually do not need custom translation - Flarum will use translation from core.ref.log_out key, so as long it is translated, everything should be fine.
core.ref.log_out
rob006 Ok, thank you!
rob006 Hello! I see the core translation is ready, how can add country flag, my name etc? 🙂
jsystems73 You need to edit or create respective files in repository: https://github.com/flarum-lang/hungarian. This should be fairly well described in wiki of template: https://github.com/rob006-software/flarum-lang-template/wiki#2-template-adjustments
Compatible with Flarum latest stable version.
Github
Install: composer require flarum-lang/hungarian
composer require flarum-lang/hungarian
Update: composer update flarum-lang/hungarian
composer update flarum-lang/hungarian
Then clear the cache: php flarum cache:clear
php flarum cache:clear
New release: v2.0.2
You can update language pack using Composer: composer update flarum-lang/hungarian Then clear the cache: php flarum cache:clear
New version: v2.0.4