Skip to content

How to change the layout of the outputOther? #43

@velidan

Description

@velidan

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
    })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions