virtualize wrote: > i investigated some more on this issue and found that only > some sentences don't get replaced, on some others it works. > > it seems that if a sentence in a validation yaml file, that > should later be substituted by one from the dictionary, has > umlauts (öäü, etc), the subsitution fails. > the same happens in the sentence contains single quotes.
just a wild guess .. but i assume this is because the text gets html escaped before getting translated maybe? generally i think its a bad practice to maintain error text inside the action code (and config files). i think its much better to decouple this. currently i prefer using error code's (aka constants) and mapping them inside the template. not ideal either. maybe a config file is not so bad .. not sure .. overall i am just not happy with the situation there. regards, Lukas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
