Skip to content

Search bar not localized #163

@Salamandar

Description

@Salamandar

Here's the plugin configuration :

    [
      require.resolve('docusaurus-lunr-search'),
      {
        languages: ['ar', 'de', 'en', 'es', 'fr', 'it', 'ru'],
      }
    ],

But the search bar is always in english.

Am I missing a step?

EDIT: if I put non-existing locales in the languages array, docusaurus build complains about stuff like Error: Cannot find module 'lunr-languages/lunr.ca' so it looks like the build takes into account this configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions