-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi everyone and thanks for the awesome lib.
I have an issue: I have the English and German languages and I need to receive at the output index_en.html and index_de.html
The question: How to do it?
I managed how to change the default language name (en) by just hardcoding it in the config but I can't do the same for other languages because they should be dynamic.
Thanks for any help!
my config
StaticI18n.processDir(paths.tempHandlebars, {
locale : 'en',
outputDefault: 'index_en.html', // just hardcoded
outputOther: '__lng__/index___lng__.html', // doesn't work
localesPath : paths.locales,
outputDir : paths.tempI18n,
locales: localeNames
})
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels