@@ -9,7 +9,7 @@ ouput dates, currencies and any numbers in the right format for the specified lo
9
9
## Usage
10
10
11
11
Internally, the ` I18n ` class uses [ Aura.Intl] ( https://github.com/auraphp/Aura.Intl ) .
12
- Getting familiar with it, will help you understand how to build and manipulate translation bundles
12
+ Getting familiar with it will help you understand how to build and manipulate translation bundles,
13
13
should you wish to create them manually instead of using the conventions this library uses.
14
14
15
15
### Setting the Current Locale
@@ -20,7 +20,7 @@ use Cake\I18n\I18n;
20
20
I18n::locale('en_US');
21
21
```
22
22
23
- ### Translating a message
23
+ ### Translating a Message
24
24
25
25
``` php
26
26
echo __(
@@ -32,7 +32,7 @@ echo __(
32
32
Hi Charles, your balance on the Jan 13, 2014, 11:12 AM is $ 1,354.37
33
33
```
34
34
35
- ### Creating your Own Translators
35
+ ### Creating Your Own Translators
36
36
37
37
``` php
38
38
use Cake\I18n\I18n;
@@ -64,7 +64,7 @@ $time = Time::now();
64
64
echo $time; // shows '4/20/14, 10:10 PM' for the en-US locale
65
65
```
66
66
67
- ### Formattng Numbers
67
+ ### Formatting Numbers
68
68
69
69
``` php
70
70
echo Number::format(100100100);
@@ -78,11 +78,11 @@ echo Number::currency(123456.7890, 'EUR');
78
78
## Documentation
79
79
80
80
Please make sure you check the [ official I18n
81
- documentation] ( http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html )
81
+ documentation] ( http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html ) .
82
82
83
83
The [ documentation for the Time
84
84
class] ( http://book.cakephp.org/3.0/en/core-libraries/time.html ) contains
85
- instruction on how configure and output time strings for selected locales.
85
+ instructions on how to configure and output time strings for selected locales.
86
86
87
87
The [ documentation for the Number
88
88
class] ( http://book.cakephp.org/3.0/en/core-libraries/number.html ) shows how to
0 commit comments