Code Monkey home page Code Monkey logo

Comments (9)

rob006 avatar rob006 commented on May 24, 2024

Flarum relies on language packs, which are Composer packages. Adding language to Weblate is not enough, you still need Composer package and maintainer to review translations and tag new releases. If you have such package, here are steps to add new language to Weblate: https://github.com/rob006-software/flarum-translations/wiki/How-to-start

Why this instance doesn't host under flarum.org subdomain?

This is community initiative, I'm not affiliated with Flarum org.

from flarum-translations.

naDevi avatar naDevi commented on May 24, 2024

If you have such package, here are steps to add new language to Weblate: https://github.com/rob006-software/flarum-translations/wiki/How-to-start

I guess it is ok to use gitlab repository. i saw you've account in it https://gitlab.com/rob006 and will try to provide necessary details soon (within some hrs)

from flarum-translations.

rob006 avatar rob006 commented on May 24, 2024

I guess it is ok to use gitlab repository. i saw you've account in it https://gitlab.com/rob006 and will try to provide necessary details soon (within some hrs)

I would prefer GitHub - so far there were no GitLab-based language packs and I'm not sure what kind of problems may pop up. But if you want to use GitLab, please grant write permissions to https://gitlab.com/robbot006 - I don't want to use my main account for pushing updates.

from flarum-translations.

rob006 avatar rob006 commented on May 24, 2024

You don't need to copy anything from this repo. Translations are exported automatically by bot from this repo (managed by Weblate) to your language pack. All you need is basic skeleton - composer.json, extend.php and locale/config.js. All locale/*.yml files will be generated by bot after subsplit setup.

from flarum-translations.

naDevi avatar naDevi commented on May 24, 2024

@rob006 added gitlab account then now you have necessary access 😊

from flarum-translations.

rob006 avatar rob006 commented on May 24, 2024

OK, it seems to work - language is available on Weblate and translations are exported to language pack repo.

Note that you need to register your language pack at https://packagist.org/ and tag new release in order to make it visible by composer require command.

from flarum-translations.

rob006 avatar rob006 commented on May 24, 2024

I'm closing this issue, since it looks like there is nothing more to do here. But if you have any questions, feel free to ask here or on forum.

from flarum-translations.

naDevi avatar naDevi commented on May 24, 2024

@rob006 sorry, i was bit busy. registered language pack at packagist and started discussion for it on flarum. still have to do anything? 😆

Thank you for the help to set-up language pack and keep maintain the weblate instance for everyone 😊

from flarum-translations.

rob006 avatar rob006 commented on May 24, 2024

still have to do anything?

No, it should be enough. Just remember to tag new release when you made new translations in the future - by default Composer installs only stable releases from tags, so if you translate something now, Composer will still install old v0.1.0 version and ignore all new translations. You need to tag v0.1.1 to mark new translations as stable.

You may also want o set up auto update, so Packagist will detect new releases faster: https://packagist.org/about#how-to-update-packages

from flarum-translations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.