zetkin / lyra

3 stars 3 forks source link

Support projects with prefixed translation file names #112

Open WULCAN opened 4 months ago

WULCAN commented 4 months ago

I don't think the assumption that translation files are always named ^[language-code].[ext]$ is a good one. I have a project of my own where some of my translation files have names like devise.en.yml. It's a framework-level naming convention that's outside of my control and which makes Lyra unviable for those strings even despite the two letter language codes.

Originally posted by @henrycatalinismith in https://github.com/zetkin/lyra/issues/106#issuecomment-2212468617