This is Interesting… I need to think about this when it’s not 1:32 AM, but what you’ve done here is actually an excellent use-case. I think as Christian mentioned, one of our ideas was to use property files, similar to what you’ve done.
I’d actually like to see your getPath() and getView() implementations, with samples of your property files, if that’s possible. It would be helpful to see the end-to-end picture, even though I pretty much get what is happening there.
Due to the work in Rewrite 2 to centralize parameterization, I think it would actually be pretty doable to implement basic i18n support that should simplify what you’ve done (which is by no means complex if you ask me! I actually like your solution!)
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.