CodeIgniter4-translations |
We have created a repository to hold community-provided translations for the system messages, based on "system/Language/en".
We welcome contributions, and will favor those from CI3 translation maintainers if there are multiple submissions for a given locale.
James Parry
Project Lead
Why does this repository not contain the origin language: English, which developers will use to translate into others?
When I clone the repository, I have to find the English language folder from framework source code to translate into my first language. I think including English in this repository will help much.
If you change, everything will change for you.
@thanhtunguet
I don't like this idea, because 1. we end up with two copies of the same thing, in different repositories; they would need synch'ing 2. anyone contributing a translation would only do so if they had already forked the main repo, where ths system/Language/en folder is found; that would be a new contributor's starting point. Better would be a way to integrate them, perhaps using a github submodule (?) The original and authoritative copy needs to live inside the main repo, just like the user guide source, so that PRs to the main repo can be complete, i.e. including any language file entries needed, as well as user guide pages/changes and unit testing. A tool that would be useful for the translations repo would be a script to look for missing translations, e.g. when the main repo was updated, and which could be run on its own (by a translator) or as part of travis-ci for new PRs (which would admittedly not help with existing translation which were now missing one or more entries). Long-term, we need to figure out something, I agree.
I think there is a problem when trying to install the translation using composer.
1 - https://codeigniter.com/user_guide/insta...anslations# we see composer require codeigniter4/translations @rc This works, but the translation folder is installed in "/vendor/codeigniter4/translations/Language" path, since must be in "/app/Language". Its installing v4.0.0-rc.3 version. 2 - https://codeigniter.com/user_guide/insta...anslations. the same, but with the code composer require codeigniter4/translations @beta 3 - https://codeigniter.com/user_guide/outgo...anslations composer require codeigniter4/translations https://codeigniter.com/user_guide/outgo...anslations Get an error: "[InvalidArgumentException] Could not find a version of package codeigniter4/translations matching your minimum-stability (stable). Require it with an explicit version constraint allowing its desired stability." So, I dont want to copy the folder. I want to use composer. What should I do?
Hi. I've just created an acount on github, w3rb1n1ch, because /es/Validation.php has is_not_unique in English. So I've tried to fixed it, but it remains in English. Can you help me to help you??
(09-10-2020, 10:52 PM)Omar Crespo Wrote: Hi. I've just created an acount on github, w3rb1n1ch, because /es/Validation.php has is_not_unique in English. So I've tried to fixed it, but it remains in English. Can you help me to help you??create PR to the main repo : https://github.com/codeigniter4/translations also check Core.php, Fabricator.php, Seed.php, Images.php, Migrations.php for untranslated key check my PR at https://github.com/codeigniter4/translations/pull/129
|
Welcome Guest, Not a member yet? Register Sign In |