kantord / LibreLingo

🐢 🌎 📚 a community-owned language-learning platform
https://librelingo.app
GNU Affero General Public License v3.0
1.97k stars 215 forks source link

More syntax features for phrases #3381

Open Skivling opened 4 months ago

Skivling commented 4 months ago

Instead of having to make 4 different copies of the same phrase, it would be nice to be able to do:

Phrase: Homai te [naihi, whāka, ipu, inu]
Translation: Pass the [knife, fork, bowl, drink]

Phrases defined this way could be just added by the yaml-loader as 4 different phrases so nothing needs to change on the application side. Or it could just be 1, and the different words allows it to be more varied.

Skivling commented 4 months ago

This is similar to #1122, but the idea is different. 1122 is about simplifying making alternate translations, this is about direct connections between the phrase and translation. Could be implemented alongside each other.