Update:Remora Localization: Difference between revisions

Line 35: Line 35:
Localizers can then translate it similar to:
Localizers can then translate it similar to:
: The waiter pours some more %2$s into your %1$s.
: The waiter pours some more %2$s into your %1$s.
and PHP will put in the value of $glass for %1$s $beer for %2$s.
and PHP will put in the value of $glass for %1$s and $beer for %2$s.


Note that we use ordinal parameters (%1$s) rather than simply %s which allows localizers to use a different order of the parameters (or drop some altogether).
Note that we use ordinal parameters (%1$s) rather than simply %s which allows localizers to use a different order of the parameters (or drop some altogether).
Confirmed users
1,209

edits