Trying to localize the value from a variable.
String x = "greeting";
English:
<string name="greeting">Good morning</string>
Spanish:
<string name="greeting">Buenos dias</string>
I know it can be done statically like this:
getString(R.string.greeting);
But then I'm hardcoding 'greeting' where it should come from the value of the variable.