1
0
mirror of synced 2024-12-13 14:56:01 +03:00

Updated I18n example.

This commit is contained in:
Jonathan.Wage 2007-11-16 17:24:06 +00:00
parent 23cc4af209
commit 687187d21a

View File

@ -47,11 +47,10 @@ In the following example we add some data with finnish and english translations:
<code type="php">
$item = new NewsItem();
$item->title = 'Some title';
$item->content = 'This is some content. This field is not being translated.';
$item->Translation['FI']->title = 'Joku otsikko';
$item->Translation['EN']->title = 'Some title';
$item->save();
</code>