Take a sentence like this:
"I visited this place {0} {1} ago."
While {0}
stands for an integer, {1}
is the word "year" or "years" respectively.
Now, in Russian, the word "year" is not just singular or plural, but depends on the exact number instead (год-года-лет). So, any rule just differentiating between "year" or "years" is insufficient for Russian.
Now, the information I need is this: is there any way to add rules in the resource bundle or in the source code, keeping the entire string, or do I have to split up the string into
"I visited this place {0} " + "{1} " + "ago."
... expanding the rule in the source code? How do you handle problems like this? Is there any best practice?