Skip to content

Adding languages: load from predefined does not work #609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tbm opened this issue Apr 11, 2025 · 1 comment
Open

Adding languages: load from predefined does not work #609

tbm opened this issue Apr 11, 2025 · 1 comment
Labels
question Further information is requested

Comments

@tbm
Copy link

tbm commented Apr 11, 2025

Description

I added Swahili and Afrikaans, which are predefined. But then, to my surprise, I had to add the dictionaries myself. Looking at lute-language-defs, the definitions have dictionaries.

The problem is: when you go to "Languages", you have two options:

  • Load predefined language and sample stories: adding languages this way will add the dictionaries
  • Create new

I never noticed the "load predefined languages" option (not sure why) and clicked on "Create new".

But "Create new" should also work because it says: "Load from predefined". However, when you choose a predefined language there, the dictionaries and other information from definition.yaml are ignored. I'd say that's a bug.

To Reproduce

Steps to reproduce the behavior, e.g.:

  1. Go to 'Settings'
  2. Click on 'Languages'
  3. Scroll down to 'Create new'
  4. Choose something from 'Load from predefined'
  5. No definitions from the pre-definitions are used
@jzohrab
Copy link
Collaborator

jzohrab commented Apr 11, 2025

Hm, that's odd, when I tried it it worked. Just before clicking "go" (sheesh what crappy UI design):

Image

After "go":

Image

You didn't get all of those loaded, @tbm ?

@jzohrab jzohrab added the question Further information is requested label Apr 11, 2025
@jzohrab jzohrab added this to Lute-v3 Apr 11, 2025
@jzohrab jzohrab moved this to In Progress in Lute-v3 Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: In Progress
Development

No branches or pull requests

2 participants