[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3899] branches/1.3/README.translations



Revision: 3899
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3899&view=rev
Author:   tshvr
Date:     2011-10-20 20:02:22 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
Documenting parameterized translations

Modified Paths:
--------------
    branches/1.3/README.translations

Modified: branches/1.3/README.translations
===================================================================
--- branches/1.3/README.translations	2011-10-20 14:11:20 UTC (rev 3898)
+++ branches/1.3/README.translations	2011-10-20 20:02:22 UTC (rev 3899)
@@ -55,3 +55,12 @@
 ua	-> uk
 ua_utf	-> uk
 ve	-> es_VE
+
+
+Examples of translation-coding
+in source-file:
+ $locale->text( 'Edit Preferences for [_1]', $form->{login} );
+
+in locale/po/nl_BE:
+ msgid "Edit Preferences for %1"
+ msgstr "Instellingen aanpassen voor %1"

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.