Closed Felienne closed 11 months ago
There is another option, which is still available to all: the language selector in the cheatsheet. Was this meant as a replacement for this switcher in the editor, or are the use cases different? We discussed a similar feature once: change the created code into generic code, so replacing all commands with the {} placeholders. This way translators could easily try code and once ready, transform it without typos into YAML text. These options might be combined by having three options available for certain people/settings: EN/selected/generic languages.
See #2573 for the feature mentioned above.
After more discussion with @Mark-Giesen, we have a plan forward!!
The keyword switcher, that we already support:
should just also translate the code in the code box. In essence I think this is a simple fix, which could be done more or less like this:
Maybe @Mark-Giesen would like to pick this up (I think it is easier maybe than the yaml generator)
Maybe @Mark-Giesen would like to pick this up (I think it is easier maybe than the yaml generator)
I'm happy to take on both, but it will take some weeks before I have some spare time. End of first quarter coming up, some work deadlines to consider.
No rush!! Happy to see your contribution when you have time.
We discussed this in the meeting today and we have a path forward:
en
or nl
)btw this is what I mean with the top switcher:
I wil do a few first steps and check back in if I need help
In https://github.com/hedyorg/hedy/pull/3327 we made it so that only the admin sees the translation option in the editor:
But @Mark-Giesen would like to use it as a teacher also. I am open to the idea but the reason we removed it was that it is a bit much to show for student users. I would prefer an option in your profile to enable this (maybe only visible for teacher users)
What do you all think?