Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/koajs/locales
koa locales, i18n solution for koa
https://github.com/koajs/locales
b22bfc52a2dbe0ca22270f1b49f63aaa1dfb7520 authored over 1 year ago by kiho <[email protected]>
update readme to correct setLocale function
ca9d0f997edda8296e735bc983729a4100e27de3 authored over 4 years ago by niftylettuce <[email protected]>Adds support for yml and yaml files
ff616cb4e598c5dfbb396c7e5d42d28887ae665f authored over 4 years ago by niftylettuce <[email protected]>8a1f8c02faa9d623e75bfce7066e27d224b75ffa authored over 4 years ago by Anthony Lansangan <[email protected]>
3db636481a6191b0c8e8cfb3ade51b08c2c58a67 authored over 5 years ago by Eric Chan <[email protected]>
8963af3a0a90f66fa949353583f0172aa61e3b8e authored over 5 years ago by dead-horse <[email protected]>
```js
app.__(locale, text, value);
```
6d00106b6340b57b465a0632eac6abab2f70c7d1 authored over 5 years ago by dead-horse <[email protected]>
0767037b3cd27ddf1b82a93f03ace79e76c0e400 authored over 5 years ago by Yiyu He <[email protected]>
5b00e90a11429c98d77c5ebfccb4e6711074bee6 authored over 5 years ago by dead-horse <[email protected]>
* chore: test on node 12
3043365e09cfd76bf6ef54a4cd7347a97d08fdc5 authored over 5 years ago by Yiyu He <[email protected]>86514e3f97b524a32cac84d31b9429709262f91c authored over 5 years ago by fengmk2 <[email protected]>
* test: use mocha@4
08037ee0ae0a1d74a63d1d7112c79fa43ddf6cd0 authored over 5 years ago by fengmk2 <[email protected]>b3c8ab19e5cfe33cfacd97cfe89ed1d5e1457b85 authored almost 7 years ago by fengmk2 <[email protected]>
f89c6755c1b16a78617ceb071d1c9a8137c8c7a6 authored almost 7 years ago by Tao Xu <[email protected]>
043fab2b973818ae5df5b2769736afccd2e85419 authored over 7 years ago by fengmk2 <[email protected]>
c46d049a5e18ba5b636f4d56d5e1362e91c44fec authored over 7 years ago by Roger Fos Soler <[email protected]>
2d9f68ab8c17e84c6cee404970386d46643c18ce authored over 7 years ago by fengmk2 <[email protected]>
dddb4c0c2e3bb5c961691a28aba7e4aa655f5a40 authored over 7 years ago by Tao Xu <[email protected]>
6857227777b4263be714f79b6a33f82d19579985 authored almost 8 years ago by fengmk2 <[email protected]>
1f485fde8302c1583709372d4e8306bbad03ba62 authored almost 8 years ago by fengmk2 <[email protected]>
1327118e10e4c93a865bb0452b5cc7ec63120173 authored over 8 years ago by fengmk2 <[email protected]>
1ec4e37bee17dea8b749b6cc92917b6b5339f5a3 authored over 8 years ago by Yiyu He <[email protected]>
dc6e8b2f7fa46194123ebdb6cfdc4de3d0cfd37d authored almost 9 years ago by fengmk2 <[email protected]>
ec48f1f20cc6ec30cbc1fb9a67eb228a44321df9 authored almost 9 years ago by ermin.zem <[email protected]>
Update benchmark to version 2.0.0 🚀
b5c5c2e47a6fb43036ec01e42ce391d5c6d4f34e authored almost 9 years ago by fengmk2 <[email protected]>http://greenkeeper.io/
259510e6abaa8b39fb7e32027a9d705d740ae04e authored almost 9 years ago by greenkeeperio-bot <[email protected]>0e0cf4fddebb8c952d883349f58bf463b02be327 authored almost 9 years ago by fengmk2 <[email protected]>
PR-URL: https://github.com/koajs/locales/pull/17
Reviewed-By: fengmk2 <[email protected]>
Review...
e4679a486d3e54cb44c3f26e31f939fc27c81bd6 authored about 9 years ago by fengmk2 <[email protected]>
fix: if header sent, don't set the cookie
a796c66b6c32e57a3b2392de04f07792e5e10e18 authored about 9 years ago by fengmk2 <[email protected]>bigpipe will fail
629141717e14d839807f2f3e12be148e5d2df622 authored about 9 years ago by fengmk2 <[email protected]>doc(options.dirs): fix api doc
205a58f270cdede876b631b15d62bcd10a1e882f authored over 9 years ago by fengmk2 <[email protected]>c4323c2a15d276c4b639834a3f99393ee75eea89 authored over 9 years ago by 闲耘™ <[email protected]>
64ea46d5496cdde543ab4e19d99525fbfeb01fa0 authored over 9 years ago by fengmk2 <[email protected]>
refact(es6): use es6 syntax.
f58a5034d7c3fe00b82690f5cb14731a97408ef3 authored over 9 years ago by fengmk2 <[email protected]>
* fixed #10, But iojs-2 not support Object.assign, so use object-assign
shim instead for now.
...
eae25a474d168058251c60ef5c55ee060a9ab72f authored over 9 years ago by fengmk2 <[email protected]>
refact(nested-data): transform nested data on load localization data.
04bb9daf8f8dcbb6101903295f8bca40e351f813 authored over 9 years ago by fengmk2 <[email protected]>cc81fbda187367e07e071b71bdaa00aaa9d1bd10 authored over 9 years ago by 闲耘™ <[email protected]>
d5a9eb0468d3cf52f877b911653dde425d581cfe authored over 9 years ago by fengmk2 <[email protected]>
feat: Support nested locale keys.
d2b6911503573f186139dbab20b31d2984472e23 authored over 9 years ago by fengmk2 <[email protected]>Example:
```js
{
model: {
user: {
name: 'Real Name',
createdAt: 'Joined At'
...
1c347630f10c98adb4614c21ed6c3eff82bb6247 authored over 9 years ago by fengmk2 <[email protected]>
e7ed19683625370a389ed59224ef2eb106494f54 authored over 9 years ago by fengmk2 <[email protected]>
fix: merge-descriptors should be in dependencies
145272906c56a067c03dc1825929b7ee249c6504 authored over 9 years ago by fengmk2 <[email protected]>closes #8
7da34b5d6aadf6ed168f6cf3e3b17981a651e62a authored over 9 years ago by fengmk2 <[email protected]>d5417af0274508e89522d19f59344b40d1acdf79 authored over 9 years ago by fengmk2 <[email protected]>
Multiple locale paths support.
d224b85d3a979639c83aaede7d8321e1105036a5 authored over 9 years ago by fengmk2 <[email protected]>5ffefcc982201e280e739736230ee38a9eb3ab90 authored over 9 years ago by Jason Lee <[email protected]>
refact(apply): apply is not too slow than direct call. fixed #2
135d55773af65a236dad2cf428ced0067286d88a authored over 9 years ago by fengmk2 <[email protected]>8796cb1a3a523273c5063f782214b7dd054d3f23 authored over 9 years ago by 闲耘™ <[email protected]>
98f9ebcfd4c4a7ac0fa4979bd52e90205484615e authored over 9 years ago by fengmk2 <[email protected]>
refact(endsWith): endsWith is fast than regexp
b75534b46000581c401ab02f0f7e75f904acf734 authored over 9 years ago by fengmk2 <[email protected]>3039718c1b537de7df17c06eaaa5159d4636f770 authored over 9 years ago by 闲耘™ <[email protected]>
revert slice arguments to args
fe92c90b53333899eb7e1a225d41d82241707f96 authored over 9 years ago by fengmk2 <[email protected]>
- revert 4ecffe8d22368f4a2cb65113600d9a514b10274e
- also add benchmark
feat: paramter support object
0b387e3940e51f691d3271c61e9a5ba05f96eeba authored over 9 years ago by Haoliang Gao <[email protected]>Patch
75b7a203a073fcc7fac4c3cc96059a25b8870578 authored over 9 years ago by Haoliang Gao <[email protected]>757b28d170089014f77d828a7be4ddb70d755e94 authored over 9 years ago by popomore <[email protected]>
4ecffe8d22368f4a2cb65113600d9a514b10274e authored over 9 years ago by hotoo <[email protected]>
41b16b7561c392abbeab2a67d715c42ff5d5ff8a authored over 9 years ago by hotoo <[email protected]>
c0a48cd9a325b1d861b1c801b5bcf4432df1caf8 authored over 9 years ago by fengmk2 <[email protected]>
a2462e6a8490a5f8d00f8c692384953149a608d9 authored over 9 years ago by fengmk2 <[email protected]>
1ee07403a00c625c18ccdb440866908b39be7920 authored over 9 years ago by fengmk2 <[email protected]>
see https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#3-managing-arguments
20d513f0a308fdaf7620501abcb70c06bbaa2dcd authored over 9 years ago by fengmk2 <[email protected]>c367102c7190d07d907242e235cfc9e73b994e21 authored over 9 years ago by fengmk2 <[email protected]>
1bd4f46acb932d4b5966e30a054401da26f9d616 authored over 9 years ago by fengmk2 <[email protected]>
ce2881e72c977a32b40a71e8a43a8a222ec0cf0d authored over 9 years ago by fengmk2 <[email protected]>
15864d180dcebed7eb33826e28bd5a5d4656b854 authored over 9 years ago by fengmk2 <[email protected]>