Skip to content

[Feature Request] Additional search locales #8830

@rotanov

Description

@rotanov

By default a search in Cyrillic is not supported.

Is there an easy way to enable it? If no, then that would be my feature request.

One way to implement it could be config option -- array of additional supported search locales like:

{
    "additionalSearchLocales": [ "ru-RU", "ja-JP" ],
}

I've googled for a solution and found this https://stackoverflow.com/questions/56624189/docfx-russian-language-search

but it seems like a hack. And I don't quite understand if they suggest to fork docfx and modify source, or there's some way to provide your own search-worker.js via template. But it's not js now, it's in typescript. Anyway it seems like a workaround (which I failed to apply).

Metadata

Metadata

Assignees

No one assigned

    Labels

    searchSearch content for a static site

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions