Alexander Makarov
182fc6882e
Fixed overriding default message sources
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
11 years ago
AlexGx
eaaa5b1bb5
fix code style
11 years ago
Alexander Mohorev
95ea1c20bb
code style. FOREACH
11 years ago
Alexander Makarov
1a5ccebef2
Fixes #2527 : Source language for `app` message category was always `en` no matter which application `sourceLanguage` was used
11 years ago
Alexander Makarov
40b3c2e89c
Fixes #2209 : When I18N message translation is missing source language is now used for formatting
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Qiang Xue
a43f8b2361
Fixes #2157 : The '*' category pattern will match all categories that do not match any other patterns listed in `I18N::translations`
11 years ago
Alexander Makarov
8bdc437bc2
Fixes #2079 :
...
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
11 years ago
Qiang Xue
0c38655217
psr-4 move
11 years ago
Carsten Brandt
fbb9918a46
fixed an issue with message source and model as params
11 years ago
Qiang Xue
5e8a48a60a
Fixes #1654 : Fixed the issue that a new message source object is generated for every new message being translated
11 years ago
Qiang Xue
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
Carsten Brandt
bcd1ad11a4
refactored MessageFormatter
11 years ago
Carsten Brandt
449eb84247
refactored message formatter
11 years ago
Qiang Xue
9963d47f16
revert back the change about message class so that the class can be lazily loaded.
11 years ago
Qiang Xue
9ca98d6239
refactoring I18N.
11 years ago
Alexander Makarov
ee2af2661c
Removed unneeded use statements
11 years ago
Carsten Brandt
7e1dd67293
typo ITU -> ICU
...
they are not responsible for i18n ;)
11 years ago
Carsten Brandt
47dfa69616
doc wording
...
[ci skip]
11 years ago
Carsten Brandt
cfc57c20f0
Allow ITU message format in validator messages
...
fixes #991
11 years ago
Carsten Brandt
553ac1f157
as we have a replacement, do not check for intl MessageFormatter
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
5d6bad5faa
fixed I18N handling of special param values and broken message tags
11 years ago
Carsten Brandt
bbcee326be
adjusted I18N to be consistent with intl message formatting
11 years ago
Alexander Makarov
bf722c0423
Used intl ICU for message translation
11 years ago
Qiang Xue
39f6e00137
Fixed matching all case.
11 years ago
Qiang Xue
b464125950
Fixes issue #592 : I18N t() plural forms possibly broken
11 years ago
Qiang Xue
6c7672c562
Minor refactoring of t().
11 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
fb5993af40
Fixes issue #251 : changed the signature of t() to be the same as v1.1
12 years ago
resurtm
ea68bd3a55
CS fixes.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Kochetov
d7df7053e0
=== array() => empty()
12 years ago
Qiang Xue
c629ad776a
Finished plural forms.
12 years ago
Qiang Xue
379e48a4c6
Finished new message translation implementation.
12 years ago
Qiang Xue
1c375b9097
bug fixes.
12 years ago
Qiang Xue
8b2b7915b4
Renamed application to app.
12 years ago
Qiang Xue
fcf3f2c893
i18n WIP
12 years ago
Qiang Xue
3c1452e84b
Changed the separator of message category.
12 years ago
Qiang Xue
54ee8c44a0
refactored exceptions.
...
I18N WIP.
12 years ago