Reputation: 47
In the Android strings.xml file this can be done using translatable attribute:
<string name="inches" translatable="false">in</string>
I could not find any solution for this for the Flutter localization *.arb files.
Upvotes: 3
Views: 300
Reputation: 1
{
"just_string": "This is a string to translate",
"some_key": "This string will not be translated",
"@some_key": {
"type": "not_text"
}
}
Upvotes: 0