scribe-org/Scribe-iOS

Add Bokmål (Norwegian) keyboard

Open

#135 aperta il 12 feb 2022

Vedi su GitHub
 (47 commenti) (0 reazioni) (1 assegnatario)Swift (106 fork)auto 404
-priority-help wantednew keyboard

Metriche repository

Star
 (167 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Terms

Language support

Norwegian is another language that has a lot of available data on Wikidata that further has grammar structures that Scribe could really serve. There are three genders - masculine, feminine and neutral, but verb conjugation is more similar to Danish and Swedish meaning that the 2x2 conjugation display would likely be used.

Of note is that there are two written forms of Norwegian - Bokmål and Nynorsk. This issue would focus on Bokmål as there is dramatically more support for it on Wikidata at time of writing (roughly 85% of Norwegians use Bokmål), but another issue to make a Nynorsk keyboard would be welcome 😊

Contribution

I'd be happy to work on this, and it may be focussed on in a future release :)

What's needed

  • A Bokmål directory added to Keyboards/LanguageKeyboards that includes a BokmålKeyboardViewController.swift file
  • Bokmål language keyboard values and logic added to NBInterfaceVariables.swift in the above directory
  • Bokmål language keyboard commands added to NBCommandVariables.swift in the above directory
  • Fine tuning the WDQS queries found in Scribe-Data/Data/Bokmål
  • Writing formatting Python scripts and adding them to Scribe-Data/Data/Bokmål
  • Add Bokmål keyboard specific logic to KeyboardViewController.swift
  • Setting up alternate key functions if there are keys that have them that aren't already implemented
  • Adding all the formatted JSON data to a Data directory in the new directory and updating the data table in the readme

Guida contributor