I’m working on the non-english app. What I’m looking for is a solution to change the account-server.js hardcoded strings to local language. My last try (just manual change) finished with unrunnable meteor install (what is strange itself btw).
So, is there any “proper” way to get meteor core strings localized ?
You can’t. You’ll have to write up the login flow yourself
Most production ready accounts UI packages let you configure the strings. For example useraccounts. Read the meteor guide for more info.
Interesting, didn’t know that was the case. I feel like apps/packages should never print error messages from the server directly, since then you need to do localization on the client and server…
They should be taken out of the code, at least.
I disagree, I think the accounts UI packages should have hooks to replace them.