Confirmed users
1,016
edits
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
== example == | == example == | ||
<pre> | <pre> | ||
en-US | if(@locale="en-US") { | ||
@import("path/to/fr/resource") | @import("path/to/fr/resource") | ||
} | } | ||
en-GB | if(@locale="en-GB') { | ||
@import("path/to/en/resource") | @import("path/to/en/resource") | ||
} | } | ||
| Line 21: | Line 21: | ||
<address "Adres"> | <address "Adres"> | ||
en- | if (@locale="en-GB"): { | ||
<phone "Phone"> | <phone "Phone"> | ||
<address "Address"> | <address "Address"> | ||
| Line 34: | Line 34: | ||
<pre> | <pre> | ||
@import("path/to/resource") if (@ | @import("path/to/resource") if (@locale=="en-US") | ||
@import("path/to/resource2") if (@ | @import("path/to/resource2") if (@locale=="pl") | ||
</pre> | </pre> | ||