what do you mean it does not work?
helper should just return a string you may keep the dictionary (of strings) some where. another way is not to use precomiled views (just string views, they will be compiled at runtime)