Comments (9)
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.
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.
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.
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.
@rob006 added gitlab account then now you have necessary access 😊
from flarum-translations.
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.
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.
@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.
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)
- Add Greek language pack to Weblate HOT 1
- Migrate Malay language pack to flarum-lang?
- Migrate Indonesian language pack to flarum-lang?
- Migrate Bosnian language pack to flarum-lang? HOT 1
- Clarify Serbian languages
- Repository for `nodeloc/flarum-chatgpt` has been removed
- `ziiven/flarum-raffle-ticket` is no longer available on Extiverse
- Weblate screenshot is Disabled? HOT 3
- Remove extensons of zerosonesfun
- Cleanup incompatible extensions
- Hebrew language pack is unmaintained? HOT 5
- 2 concurrent Japanese language packs HOT 4
- Latvian language pack is unmaintained? HOT 3
- Serbian language pack is unmaintained? HOT 1
- Import translations for Arabic language HOT 2
- Traditional Chinese translations
- Add more language packs (without maintainer)? HOT 2
- Repository for `itnt/flarum-uitab` has been removed HOT 1
- Repository for `finteger/ratings` has been removed
- `finteger/shorts` has been removed from Extiverse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flarum-translations.