alaz/scala-i18n

[Question] How to load different message file ?

Closed this issue · 1 comments

How do we load a different message file name? e.g. I want to load dictionary*.txt instead rather than messages*.txt. Is it possible?

alaz commented

It's possible:

object Dictionary extends Messages {
  override val FileName = "dictionary"
}

Dictionary("key")