Skip to content

Use new language selector #1076

@chrisvire

Description

@chrisvire

One of the teams in SIL has created a new language selector.

Here is a demo:
https://sillsdev.github.io/EthnoLib/?path=/story/demos-dialogdemo--primary

Here is the architecture:
https://github.com/sillsdev/EthnoLib/blob/main/README.md

Dependencies:
https://github.com/sillsdev/EthnoLib/blob/main/components/language-chooser/common/find-language/package.json

From discussion:

There are three layers:

  1. Search Logic: @ethnolib/find-language
  2. Headless React Logic @ethnolib/language-chooser-react-hook
  3. Material UI Interface @ethnolib/Mui Language Chooser
    So you can reuse whatever layer, and hopefully add alternatives, e.g. on layer 2, we could have a "Headless Svelte" or whatever.

I haven't looked much into "headless Svelte". With Scriptoria, we would want to style it with Tailwind/DaisyUI.

We would want to add the Svelte layer to the EthnoLib repository and use it from S2 (feature/svelte branch).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions