Skip to content
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

Support motivation words in new language #3383

Open
Skivling opened this issue Jul 26, 2024 · 4 comments
Open

Support motivation words in new language #3383

Skivling opened this issue Jul 26, 2024 · 4 comments

Comments

@Skivling
Copy link

There should be support for a course file which defines all the motivation and question words in the new language, to provide more immersion.
This is like:

  • Great job!
  • Translate this sentence:
    etc.
    All the small words in the UI could be shown prominently in the new language, with the source language lighter beside it.

I'm adding this to my LibreLingo-based mobile app, and would like to see it supported upstream.

@kantord
Copy link
Owner

kantord commented Jul 27, 2024

Good idea! I suppose this could be part of the metadata file of courses. How would you implement this?

@Skivling
Copy link
Author

It could be in course.yaml, although that would get big really quickly. I was thinking it would be a separate file, motivation-words.yaml or something that is clear what it is.
It would probably be indexed by the English translations for them, and structured something like this:

Motivation Words:
   Te Reo Māori: # Target language, the one we want to show more prominently
        Well Done:
        Awesome: Tau ke!
        New Word: Kupu Hou
        Translate this sentence:
        Correct:
        Not quite.:
        Try Again!:
        You got this!:
        Mistakes are how we learn.:
        Check:
        Continue:
        Loading...:
        Match the translations:
        It was a typo:
   English: # If the source language was different from english this would be another section

This is the list I had though of so far. And I would hope that any of these fields could become a list, so that the application can show either or.

@kantord
Copy link
Owner

kantord commented Jul 28, 2024

actually, is it important to distinguish between the meaning of different motivational phrases?

@Skivling
Copy link
Author

Not specifically. There will be different categories, for when the answer is correct, incorrect/try again, but some of the others are specific, like 'it was a typo'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants