Skip to content

Add localizations from the get go #18

@antobinary

Description

@antobinary
  • Add an example string for Hello World
  • put strings in locales/en.json
  • add
  plugins: [
    new CopyWebpackPlugin({
      patterns: [
...
        { from: 'public/locales/', to: './locales/' }, // Copy all locales to the output folder
      ],
    }),

to webpack.config.js

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