📜 ⬆️ ⬇️

Pebble: now banana ... in 80 languages, but still not in Russian!

It seems that Pebble found out that not all people in the world use only Latin letters: support for 351 new characters appeared in the new firmware 2.8, which will allow the clock to show notifications in 80 languages. It is clear that these figures are rather an advertising move (for example, many languages ​​alphabetically differ in 10-15 characters, but all the same they are alphabets of different languages), but the fact remains: it seems that sometimes it will be possible to do without custom firmware to send a multi-lingual message to the phone and not get “squares” on the screen. And, no, there is no Russian in the list of supported languages.

It’s no secret that the native firmware of the Pebble smart watch didn’t complain much about non-Latin characters in messages. We had to collect (say, here ) and install (approximately like this ) custom firmware builds, in which the necessary characters were already added. The developers of the Pebble theme of supporting other alphabets besides Latin alphabets, let it pass by themselves, solving the more vital, in their opinion, issues of firmware development. At the exit, it turned out that the process was not long, and the update was simple - but it was somehow inconvenient, because it required additional attention.

Now, with the release of firmware 2.8, users get several improvements at once , incl. in terms of internationalization:

  1. All GOTHIC system fonts have been expanded to support 351 characters.
  2. Added API setlocale and i18n_get_system_locale APIs in preparation for supporting internationalization

')
Here is the full list of languages ​​that appeared in Pebble Firmware 2.8:

Afrikaans, Albanian, Asu, Basque, Bemba, Bena, Bosnian, Catalan, Chiga, Congo Swahili, Cornish, Croatian, Czech, Danish, Embu, English, Esperanto, Estonian, Faroese, Filipino, Finnish, French, Galician, Ganda, German , Gusii, Hungarian, Icelandic, Indonesian, Irish, Italian, Jola-Fonyi, Kabuverdianu, Kalaallisut, Kalenjin, Kamba, Kikuyu, Kinyarwanda, Latvian, Lithuanian, Luo, Luyia, Machame, Makhuwa-Meetto, Makonde, Malagasy, Malay, Maly, Maly, Maly, Malo , Manx, Maori, Meru, Morisyen, North Ndebele, Norwegian BokmĂĄl, Norwegian Nynorsk, Nyankole, Oromo, Polish, Portuguese, Romanian, Rombo, Rundi, Rwa, Samburu, Sango, Sangu, Sena, Shambala, Shona, Slovak, Slovenian, Soga, Somali, Spanish, Swahili, Swedish, Swiss German, Taita, Teso, Vunjo, Zulu.

I'm glad for the probably huge Pebble community in Africa, and I regret that the Russian users turned out to be obviously smaller, but the fact remains that Russian users go to Pebble Bits out of habit.

It should be noted that the changes in the SDK 2.8 improve the display of fonts, but make them somewhat larger on the screen. If after rebuilding the application with the SDK 2.8 lines start to crawl on each other, you can enable the old rendering behavior by specifying
"compatibility": "2.7" 
in the resource block for the desired font.
In other words, in this case we do something like this:
 { "type": "font", "file": "fonts/something.ttf", "name": "FONT_SOMETHING_24", "compatibility": "2.7" } 
These changes do not affect system fonts.

PS The topic moved from Habra to GT because it turned out to be non-core for Habr

Source: https://habr.com/ru/post/363487/


All Articles