- More details and examples

pull/87/head
Steve Clement 2018-01-12 16:59:07 +01:00
parent 4075379ff2
commit f9ae5792cc
1 changed files with 20 additions and 2 deletions

View File

@ -4,9 +4,27 @@
Please read the following CakePHP documentation about i18n & l10n: https://book.cakephp.org/2.0/en/core-libraries/internationalization-and-localization.html Please read the following CakePHP documentation about i18n & l10n: https://book.cakephp.org/2.0/en/core-libraries/internationalization-and-localization.html
## Add an .md per translation effort ## Add one .md per translation effort
Please add a file à la: ja_JP.md (Japanese_Japan) or it_CH.md (Italian_Switzerland), in which you briefly describe what the current status is and what has been translated and which parts might be gotchas. Please add a file à la: ja_JP.md (Japanese_Japan) or it_CH.md (Italian_Switzerland), in which you briefly describe what the current status of your translation effort is and what has been translated and which parts might be gotchas.
## Style
Please follow whatever is the purest and most intelligible form of written language.
## Formatting
It is important to use correct formatting. This is wrong:
```
<p><?php echo __('Are you sure you want to delete Proposal #') . $id . '?' ?></p>
```
You want to have ultimate flexibility and that line should look more like this:
```
<p><?php echo __('Are you sure you want to delete Proposal #%s?', $id);?></p>
```
## Let us know! ## Let us know!