Replies: 3 comments
-
Honestly this is difficult to implement, it's not just that different language files need to be switched in mpv.conf and input.conf (which should actually be possible with scripts). The bigger problem is that there are scripts that also need to switch between languages, and I can't think of a good way to handle that at the moment. If anyone has ideas feel free to suggest them or open the appropriate PR. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I'm not very skilled when it comes to GitHub and scripting. But I do try to tinker around from time to time. Translation guide: https://github.com/Samillion/ModernZ/blob/main/docs/TRANSLATIONS.md
I'm not sure if that's all there is to the logic, but I think it's the majority of it. 2. Will probably be the most difficult to implement or the most time-consuming. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately after testing this was found to be impossible. Although mpv allows configuration files to be changed at runtime using the |
Beta Was this translation helpful? Give feedback.
-
I think of it as having several JSON files for the different languages, and then you can simply change the language at the corresponding line in your config. Just like you can currently do with the rest of uosc, but unfortunately not with your custom elements. I think that would make it easier to support multiple languages in the future.
I would like to thank you for your efforts and would love to use the config in english or german while staying up to date with the main branch.
Beta Was this translation helpful? Give feedback.
All reactions