
29 Jun
2011
29 Jun
'11
12:55 p.m.
Hi! I'am using mkMessage to create the i18n stuff for a project. I've created a en.msg and a de.msg and everything is running smoothly and I can use the message consts in my hamlet template with _{}. But I'am a little bit unsure whats the best practise to handle the language parameters like 'de-de' or 'en-us'. The Message framework does not seem to handle those cases by using en.msg for en-us if en-us.msg is not found. But copying the message files also seems not a good option. Putting a "take 2" version of the language to the _LANG cookie var works, but needs a reload to become active... Any suggestions / best practice advices? Regards Markus