Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/zoghal/Translations
Backend / Platform translations plugin
https://github.com/zoghal/Translations
if Config.language and Config.defaultLanguage differ
5d461b729ed404e2f4f987694a337803fbad06b1 authored over 12 years ago
it's quite important to not destroy the language inheritance by creating
empty translations, or ...
0540e048154f07a6a99479e251e2a8eff0fbed6c authored over 12 years ago
otherwise keys that only differ in case cannot be stored (with the
unique index)
fd6f7ec2b36348fb9ee67ec6c9f47fe070646ed0 authored over 12 years ago
135a716a45e7d47dbedc8a084ee24f41c27f40d3 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
read from config for defaults
3c9053a86a874a146809c4fb001cfd51fda6fb59 authored over 12 years ago
it's now possible to set a "default" domain via Translation::config() -
this shell should be awa...
if it's a numeric category - convert it
0004f513e4d734868b871e7aff6bd0f84c2f3475 authored over 12 years agoprevent creating duplicate or empty translations
61c6b60638284a394410378da027c3360b0adbf7 authored over 12 years agoab0177442faf408f901808ca050ec50ede5be3db authored over 12 years ago
8ca656f6fa4855ffba9879229642420d9ce7a810 authored over 12 years ago
there is an 'en' translation for key_one - so that's the value to expect
in all cases given that...
incase there are other things to take into account
d999745572d8eea02370cc4c7d61b64e63d6ae4b authored over 12 years ago7075b893795eefb5d39cf5f8544e86340b7b01e4 authored over 12 years ago
set a defaultLanguage config variable which is the default for the app
as a whole. This is used ...
and convert the original variable too
1ce9fff51e8db4e80aa9e8a80a11b22068cd9b08 authored over 12 years agoAllow _('hello {name}', 'bob');
7af110f5a3c926feb6a58f2ed2d1076fd5e92c3b authored over 12 years ago5b915d99eb998dd0cd8a05af2ca01dd63fe6419c authored over 12 years ago
867b2864a9e1393c4747041bcfe384e27f50c1bb authored over 12 years ago
0660d06101ace1f5b18cf0a1fa97cb408d51cbcf authored over 12 years ago
don't overwrite and po file parsing are two things that I'll be needing shortly
686b8b55d83bb84c8be224fe0d2df2bc77d74330 authored over 12 years agof0015f5ef6db222b162a8886817494458def5353 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
7a1899adb4552b6bb9335bd792596d1d0990a11a authored over 12 years ago
Feature/import export
88c55218c2b8868f62fd4f24bfa218c45149ad94 authored over 12 years ago"foo" should not be put in a group named "foo"
4cf088fc0402c0c0e9b2606526b138cb7345e2e3 authored over 12 years ago265c7ab8a28f751f2d82a225c056e1695e8868e2 authored over 12 years ago
5b98458c7db5a936119b8fb78762dcdfe8090110 authored over 12 years ago
remove serialize noise. If the cache store isn't configure correctly,
this class shouldn-t corre...
220cef3402226f392e6c83e52cc0fbdc8e668367 authored over 12 years ago
importing by url assumes json format, allow for various formats
including
data => translations
...
a23677930a8782d7005de9ee60c7b5ec63b5a42f authored over 12 years ago
a23a4decbaa0f7136e30f348ce6355e8a598d731 authored over 12 years ago
c6656b11a713dfcf7322896335a01329f2b191c9 authored over 12 years ago
39c1fdca990828441e50c070dfb1366fa410e752 authored over 12 years ago
b97334a6a9ed4b3c27e6b574b6fe79e06206bfb6 authored over 12 years ago
ad7ec6eea588de981341d6674711aad48d9d68c8 authored over 12 years ago
e5798b6c02db5d7b887b26133d8bd8df5a145b4e authored over 12 years ago
ae70b4fabf8dbded5358b1f8086005f685d33215 authored over 12 years ago
cb3389ddd61b8c69868490d9a4cfed7b91b9fadd authored over 12 years ago
Feature/override i18n
68e40dda18e49ac98be1b2f8346592d0947a2d00 authored over 12 years ago84b46726f9f0d3086be641774346851a19a30022 authored over 12 years ago
aa4d617d20bd925795ce3981095333e22cef859f authored over 12 years ago
e751586a940ca08e2fd464343202595e8c5bb8d5 authored over 12 years ago
28493fc2c6a791c9ee959b9f6c28197a181470c2 authored over 12 years ago
1166027861bfe366d61e0b21a463448a551d4528 authored over 12 years ago
91f262f1a074f7960cf4f52f89bd127360857821 authored over 12 years ago
and also, permit caching for forLocale
b83df16f4d39762200033cd94569399551c567bb authored over 12 years agoupdate docblocks
3f14c71dbfcc12790949ed99fb0c4a18b41a729e authored over 12 years ago6a6d1491163dc8915ae8a1f06b17591af0d04231 authored over 12 years ago
8b084eafd20720810f7ecde3ddcea54245cd4eb5 authored over 12 years ago
if application_id is present AND the the boundary behavior is used
(which is normally the case) ...
but auto convert FooBarZum to foo.bar.zum
407f0e259459030c3b4b8645f132d02820aac83d authored over 12 years ago05c8ffbde663b1549b8fa827a06bd4620d0b7306 authored over 12 years ago
00ef183a56a47de6863e49714b7594084b391ea2 authored over 12 years ago
8ceef16e90c472f12351adfca3504336748cef06 authored over 12 years ago
bbb404bcae48ce64561c48d4c4295cfbf80b2c0e authored over 12 years ago
It's possible to ttry and translate something too early - if you do
that, cake won't have alread...
5a78b8e7b2c3319d03fa2f5567fafee40f23cd47 authored over 12 years ago
_recursiveInsert acts by reference - no need for a $temp variable
92ab1ab046df309b6518e51d02c857eb7c6e6eaf authored over 12 years agoit needs to be able to handle domains, categories and plurals
f9437c83f3ae7a426a8ddc39f3b5975e0008a590 authored over 12 years agoa6483d44a5d353c061afc1f0cb518c7ca7457097 authored over 12 years ago
0a3e8084508c3a84585a760e9b78a0772f542279 authored over 12 years ago
ae122c21e6a24772269e6983fb1186277bcd6aff authored over 12 years ago
79122074352f1cdc79121856155ec392aecf80bd authored over 12 years ago
we don't need the unique index, but we do need more fields in the table
update schema in test, a...
and make t almost bc compatible with __
c0173341724261a835650f01bda6f60bf9346b7a authored over 12 years agoAdmin UI for adding translation
38e32e4a8709795c97d09e9fa3e0fe998f2db0e6 authored over 12 years ago36e60be12e20a60b64f681d88dfe36fcb89b2e5d authored over 12 years ago
0b59f4e80d11b1a29965c51114251178c880ca1b authored over 12 years ago
7a34a4985165133bd43fbd067d04391698d588c9 authored over 12 years ago
This will allow it to be run via a CLI-command as well as fascilitate testing.
8e746be727ff0350179a923167d8b19a449324a2 authored over 12 years agoThe application_id bounds was failing when the locales were being fetched in the application edi...
8eba1779c4eafaa8f9d77508340f4b519619f7af authored over 12 years agoThis feature allows you to build the app in one language (say English) and then hand it off to a...
b8105295debc819c5c4e1e4a7d9523eb8ce06861 authored over 12 years agoa39dc5a255ad0824574f34688255434751972f09 authored over 12 years ago
Rather than spitting out an error if a localization already exists, the script should just add t...
205476a69b0f549ecfe9c8ee04cfb03a1a0ae402 authored over 12 years agoc3f0435461e24149c00309f55124c3250a5c56d5 authored over 12 years ago
This is a pre-amble to managing translations with a human-friendly list of locales to choose fro...
04bf798f55e527cec64ed23120f5335420f985bd authored over 12 years agoRather than relying on the developer's initiative to add a link to managing translations, it mad...
1e7104502698a675938127ad4c91c4888d3b2bfa authored over 12 years agoMore leniency towards translation keys
4490a2a7ddcce27ddfb30efa1f6e60e99cef3bb7 authored over 12 years ago53210befb4f63ae97b68e3c4692207a60749b707 authored over 12 years ago
f4795d661027e0ce4c34d5510625260e352b47d8 authored over 12 years ago
466710ca154ecce8794a6cb4f07848887a31921b authored over 12 years ago
Unless there is a consensus to enforce namespaced keys ("key.for.value"), then we should
ensure ...
and use it to link to the specific section the translation is in
8a6b4156283103b255293f855e457eeb6268cff5 authored over 12 years ago4764569711413f4b87bb8a32975e891437f6de81 authored over 12 years ago
5ad1abd2fa5e4554168cbb6c92580b29e1b6bb85 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
10cf54dce6dc3aa418882615e5c8c30b336f4eae authored over 12 years ago
4d0bfec440f97069e35e0b7ce59e1e1109cfc1bd authored over 12 years ago
1791a3e006da28a7f3c338cfb2a11eb7ce8322df authored over 12 years ago
52d116667fe91c02d42063536d6f986241ca2bfb authored over 12 years ago
bbc060cdf8981bec03bbcde543d7dba74a35fc00 authored over 12 years ago
bc2dee459631b26970ff78410ee4f0266d2128a0 authored over 12 years ago
24e939499833889f463134d081e5d22172041767 authored over 12 years ago
2112248728783192d1162bb5068a365c52815ad9 authored over 12 years ago
Preparing submodules for release
Updating semver
Finish release
Feature/tests
1e75cbd195d06921631321777546ff014fa9a114 authored over 12 years ago