Confirmed users
1,016
edits
No edit summary |
(→status) |
||
| Line 31: | Line 31: | ||
== status == | == status == | ||
We decided to reuse [[L20n/Features/Conditional_blocks|if in @import]] for this goal. | |||
<pre> | <pre> | ||
@import("path/to/resource") if (@locale=="en-US") | |||
if (@locale="fr") { | |||
<entity "value"> | |||
} | |||
and | |||
import("path/to/resource") if (@locale=="en-US") | |||
import("path/to/resource2") if (@locale=="pl") | |||
</pre> | </pre> | ||