waldobronchart/ShortcutMapper

Include Localization Support

andremeireles opened this issue · 1 comments

I'm working on a new keyboard layout and would like the descriptions to be in another language. Is it possible to create a JSON file for this?
If the application has many locales, show only that locales. Otherwise show only the default.
This is a sketch I did.

Option 1 - Only descriptions

locales

Option 2 - Best scenario

locales2

I think we have a general problem that some descriptions are too long to fit inside the button. This will most likely be an even bigger problem in other languages such as German. I suggest putting the translation in the button itself, but cutting it off when it gets too long.

I was planning on creating a separate interface where longer descriptions can be displayed. This interface can show up when you click on a button or when you press a button on your keyboard.
image

Option 2 wouldn't work for the Apple keyboard layout, since the F-keys fill the entire length.

Another thing to remember is that the project will need to be reorganized to support different languages (all the intermediate files will need to change format to specify which language the description is in).

I like this idea though, and the added option on the right side for language gets a +1 from me.