Using non-latin language on Librem 5

Are you still working on the Russian layout?

Yes, I haven’t had a chance to get back to this but the activity with the other languages has been exciting and helpful to watch. I will try to work on this later this evening.

I was originally concerned about how to test my changes since I don’t have a DevKit but there has been some guidance on that now and I do have an emulator setup.

2 Likes

My mistake.

I just send a commit with the modification you told me and some improvements, I hope it’s fine now hahaha

1 Like

A fantastic! Thank you for doing that. I’ll not take it up then :slight_smile:

Greek was added. Great! Thanks Dorota.

Can someone point me to the correct way of submitting? Because maybe after I see the keyboard on the phone it may need some small adjustment. This time it was Dorota who added the file I gave to the project.

I will also add multiaccented Greek (polytonic) when the long key-presses are implemented. (each vowel has many accented variations and can not be done using more views; it would be too complicated for the user).

https://developer.puri.sm/Librem5/Contact/Contributing.html

Like this: https://source.puri.sm/Librem5/squeekboard/merge_requests/195

Check the Spanish keyboard, it’s a lot better now, if you remove/add what you need for Italian It will look more ‘standardized’.

I guess almost all the especial characters you need in italian are already in, because I added support for Catalan and both languages share some characters aswell.

ok thank you for this.
bye

You can see my current progress here:

@dcz I’ve committed my initial stab at a Russian layout above. There’s been a lot of change in the last 2 weeks with the removal of corner_radius and such so I where I had started from the nb.yaml initially I’ve now based this on the more recent work @uzanto did for Spanish. I still need to test this and there are probably some things there still that don’t make sense for Russian, but I wanted to let you know my progress on this.

Once I’ve had a chance to test and tweak it, I’ll submit a MR.

1 Like

This is great! But I do wonder, where is the key for [ Ъ ] твёрдый знак ?

Yes, good eye. That is missing as well as ё. In the layout I was referencing (BB10 / Z10) those symbols were entered by long press on ь and e, however as discussed above, there is no “long press” feature in squeekboard yet. I think I will need to do something like @uzanto did for Spanish with a special button to show a new view with these symbols, but since there are only 2 of them that seems like overkill. The other option might be to try and squeeze these into the numbers or symbols view.

The number/symbol view does sound like the better option for just 2 extra characters. At least until long press is supported :wink:

You can try to add them to the bottom line next to space like I did, something like this:

base:

  • “й ц у к е н г ш щ з х”
  • “ф ы в а п р о л д ж э”
  • “Shift_L я ч с м и т ь б ю BackSpace”
  • “show_numbers preferences period space Ъ ё Return”

You will need to adjust buttons measures but no symbol view will be necessary.

1 Like

I like this solution probably the best.

I’ve added a fancy Kana-only Japanese layout: https://source.puri.sm/Librem5/squeekboard/merge_requests/208

Japanese users, please test, and, even better, make fixes! The file can be downloaded here: https://source.puri.sm/Librem5/squeekboard/raw/06f99b85f0529679984c89c199ad39b6a3261466/data/keyboards/jp+kana.yaml?inline=false

All contributors: that keyboard might be interesting to you if you want to learn what tricks can be pulled off with your own keyboards. It’s quite different from all the others so far!

10 Likes

Thanks for the Kana-Keyboard @dcz, I’ll gladly take a look at it.

As I didn’t see a German layout around, I just made an initial version of a German keyboard layout, based on @uzanto’s work.

The first tests with tests/entry.py seem to be OK. As a next step I forked squeekboard and pushed the new de.yaml. What would be the next step? Waiting here for feedback and/or do a merge request?

EDIT: Here’s the Merge Request (MR 227) for the German layout.

2 Likes

Thank you!

The feedback process always starts with an issue/MR on source.puri.sm for all projects. Then people can review and comment, until the maintainers are pleased and merge it in.

This thread looks like an exception, but you might have noticed I’m not giving advice on particular keyboards, only explaining general concepts :slight_smile:

3 Likes

Two more keyboard layouts and the corresponding merge requests: A German keyboard layout derived from the other European keyboard layouts and a Japanese keyboard layout based on the work of @dcz, but with a 12-key Kana layout.

The files for the layouts can be downloaded here: de.yaml and ja+kana.yaml.

The German keyboard additionally includes most of the French accented characters, but there was not enough space for all of them - sorry.

The Japanese layout is a classic 12-key Kana layout with additional layers of Latin characters and numbers. Maybe it could be used as the basic keyboard layout for Kanji lookup in the future - but that’s still far away.

Please test the layouts and give feedback :slight_smile:

EDIT: Meanwhile, the two layouts have been merged - so there’s no need to download them manually any more. Nevertheless, I updated the links just in case.

5 Likes

I did finish testing the Russian layout and implemented the additional keys on the space bar row as @uzanto suggested. I created a merge request for this last week, just waiting on any feedback.

1 Like

I like it! Thank you so much for working on this layout.