gadicc / meteor-messageformat

MessageFormat i18n support for Meteor, with reactive templates
54 stars 22 forks source link

How to set default language? #249

Open alvestjo opened 7 years ago

alvestjo commented 7 years ago

Hi,

I have native-langugae set to 'en' in my application but I want the default language to be 'sv' for new visitors of the website. What is the best way to do this? A "default-locale" parameter to the init-method would make sense i think.

//Jonas

gadicc commented 7 years ago

Hi @alvestjo, sorry, I realize this reply is very late. I regret that I don't have time for new features at the moment, but I'd happily take a PR for this. I agree that it's a useful use case.