Scribe-iOS: Keyboards for language learners & Conjugate-iOS: Wikidata based verb conjugation app
Scribe-iOS: Keyboards for language learners & Conjugate-iOS: Wikidata based verb conjugation app
Scribe-iOS is a pack of iOS and iPadOS keyboards for language learners. Features include translation (beta), verb conjugation and word annotation that give users the tools needed to communicate with confidence.
Scribe is fully open-source and does not collect usage data or ask for system access. Feature data is sourced from Wikidata and stored in-app, meaning Scribe is a highly responsive experience that does not require an internet connection.
[!NOTE]\
The contributing section has information for those interested, with the articles and presentations in featured by also being good resources for learning more about Scribe.
Also available on Android (WIP), Desktop (planned) and for the data processes see Scribe-Data.
Check out Scribe's architecture diagrams for an overview of the organization including our applications, services and processes. It depicts the projects that Scribe is developing as well as the relationships between them and the external systems with which they interact.
Contents
- Codebase OverviewPreview Videos
The following are the preview videos for the App Store:
iPhone 6.7" version
https://user-images.githubusercontent.com/24387426/231612322-7afca555-a3c5-4f1c-81a7-a64df86ff797.mp4
See also
https://user-images.githubusercontent.com/24387426/231612346-af8b3f62-adf1-4f24-a6ff-91bfb6232c35.mp4iPad Pro 4th gen version
Contributing
Scribe uses Matrix for communications. You're more than welcome to join us in our public chat rooms to share ideas, ask questions or just say hi to the team :) We'd suggest that you use the Element client and Element X for a mobile app.
Please also see the contribution guidelines if you are interested in contributing to Scribe-iOS. Work that is in progress or could be implemented is tracked in the issues and projects.
[!NOTE]\
Just because an issue is assigned on GitHub doesn't mean the team isn't open to your contribution! Feel free to write in the issues and we can potentially reassign it to you.
Those interested can further check the -next release- and -priority- labels in the issues for those that are most important, as well as those marked good first issue that are tailored for first-time contributors. For those new to coding or our tech stack, we've collected links to helpful documentation pages in the contribution guidelines.
After your first few pull requests organization members would be happy to discuss granting you further rights as a contributor, with a maintainer role then being possible after continued interest in the project. Scribe seeks to be an inclusive and supportive organization. We'd love to have you on the team!
Ways to Help
- Reporting bugs as they're found ๐
- Working on new features โจ
- Localization for the app and App Store via our Weblate project ๐
- Documentation for onboarding and project cohesion ๐
- Adding language data to Scribe-Data via Wikidata! ๐๏ธ
- Sharing Scribe-iOS with others! ๐
Road Map
The Scribe road map can be followed in the organization's project board where we list the most important issues along with their priority, status and an indication of which sub projects they're included in (if applicable).
[!NOTE]\
Consider joining our bi-weekly developer syncs!
Designs
The designs for Scribe are made using Figma. The App Store videos, images and text can be found in the AppStore directory. Those with interest in contributing can open a design issue to make suggestions! Design related issues are marked with the design label.
Data Edits
[!NOTE]\
Please see the Wikidata and Scribe Guide for an overview of Wikidata and how Scribe uses it.
Scribe does not accept direct edits to the grammar files as they are sourced from Wikidata. Edits can be discussed and the Scribe-Data queries will be changed. If there is a problem with one of the files, then the fix should be made on Wikidata and not on Scribe. Feel free to let us know that edits have been made by opening a data issue or contacting us in the issues for Scribe-Data and we'll be happy to integrate them!
Environment Setup
Scribe-iOS is developed using the Swift coding language. Those new to Swift or wanting to develop their skills are more than welcome to contribute! The first step on your Swift journey would be to read through the Swift documentation. The general steps to setting up a development environment are:
- Download Xcode
- Fork the Scribe-iOS repo, clone your fork, and configure the remotes:
[!NOTE]>
>Consider using SSH
>
Alternatively to using HTTPS as in the instructions below, consider SSH to interact with GitHub from the terminal. SSH allows you to connect without a user-pass authentication flow.>
To run git commands with SSH, remember then to substitute the HTTPS URL,>https://github.com/..., with the SSH one,git@github.com:....
- e.g. Cloning (with submodules) now becomes git clone --recurse-submodules git@github.com:<your-username>/Scribe-iOS.git
>
GitHub also has their documentation on how to Generate a new SSH key ๐>
[!NOTE]
Cloning this repository with--recurse-submodulesalso clones a copy of Scribe-i18n where the texts for Scribe projects are localized. When pulling changes frommain, you should also run the following command:git submodule update --init --recursiveto get the copy of the localization files currently on main (you can also run updateprojectandsubmodule.sh). To get the most up to date version of Scribe-i18n, change to its directory inScribe/i18nand rungit pull origin main.
# Clone your fork of the repo into the current directory (including submodules).
git clone --recurse-submodules https://github.com/<your-username>/Scribe-iOS.git
Navigate to the newly cloned directory.
cd Scribe-iOS
Assign the original repo to a remote called "upstream".
git remote add upstream https://github.com/scribe-org/Scribe-iOS.git
- Now, if you run
git remote -vyou should see two remote repositories named:
origin (forked repository)
- upstream (Scribe-iOS repository)
- (Suggested) Install prek pre-commit hooks to check for and correct common errors in commits:
pip install --upgrade pip # make sure that pip is at the latest version
pip install prek
prek install
prek --all-files
- Open the Scribe-iOS directory in Xcode
- In order to run Scribe on an emulator:
Start the active scheme
- From here code edits that are made will be reflected in the app each time the active scheme is restarted
- Build the developer documentation by selecting
Product>Build Documentation(^โงโD)
[!NOTE]
Feel free to contact the team in the iOS room on Matrix if you're having problems getting your environment setup!
[!WARNING]\
Note on Debugging:
Because Scribe is a keyboard extension, the Xcode debugger doesn't work as expected when debugging a regular app. Please see the note on debugging in CONTRIBUTING.md to learn how to get it working properly.
App Setup
Codebase Overview
The Scribe-iOS codebase consists of two separate applications.
- Keyboard Application โ the Scribe Language Keyboards application (IME)
- Conjugate Application โ the Scribe verb conjugations application
- Scribe โ Scribe Language Keyboards app (IME)
- Conjugate โ Scribe Conjugate verb conjugation app
- Download Scribe - Language Keyboards from the App Store
Open Settings, and navigate to General -> Keyboard -> Keyboards



Tap add New Keyboard and select Scribe

Choose from the available language keyboards

When typing press ๐ to select keyboards

Supported Languages
Scribe's goal is functional, feature-rich keyboards for all languages. You can check the currently available languages and data for Scribe applications on our website at scri.be/docs/server/available-data.
See scribedata/wikidata/languagedataextraction for queries in the Scribe-Data project for currently supported languages and those that have substantial data on Wikidata. Also see the new keyboard label in the Issues for keyboards that are currently in progress or being discussed, and suggest a new keyboard if you don't see it being worked on already!
Keyboard Features
Keyboard features are accessed via the Scribe key at the top left of any Scribe keyboard. Pressing this key gives the user three new selectable options: Translate, Conjugate and Plural in the keyboard's language. These keys allow for words to be queried and inserted into the text field followed by a space.
Current features include:
Translation
The beta Translate feature can translate single words or phrases from English into the language of the current keyboard when the return key is pressed. The goal is that Translate will eventually provide options for entered words where a user can use grammatical categories and synonyms to select the best option. Then the feature will expand to allow translations from system and chosen languages. More advanced methods will be planned once this feature is out of beta.
As of now translations are not widely available on Wikidata. The current functionality is thus based on ๐ค Transformers machine translations of words queried from Wikidata. The ultimate goal is for the translations to be directly queried.
Verb Conjugation
With the Conjugate feature, a user is presented with the grammar charts for an entered verb instead of the keyboard. Pressing an example in the charts inserts the chosen conjugation into the text field.
Noun Plurals
The Plural feature allows a user to enter a noun and then insert its plural into the text field when the return key is pressed.
Word Annotation
Scribe further annotates words in the command bar to help users understand the context of what they're typing. Annotations are displayed once a user has typed a given word and pressed space, after commands, by pressing the Scribe key while it is selected as well as under autocompletions and autosuggestions. The hope is that annotation will help a user remember grammar rules even when not using Scribe.
Nouns
Scribe annotates nouns in the command bar according to the following conventions:
- Feminine: colored red ๐ฅ and marked with (F)
- Masculine: colored blue ๐ฆ and marked with (M)
- Common: colored purple ๐ช and marked with (C)
- Neutral: colored green ๐ฉ and marked with (N)
- Plural: colored orange ๐ง and marked with (PL)
- More than one: marked with all their forms
Prepositions
Scribe also annotates the grammatical cases (accusative, dative, etc) of prepositions in the command bar if there is a relation in the given language.
Pronoun Selection
Annotations for preposition cases can also be pressed to provide a conjugation display where the user can select the proper pronoun for the given case. The conjugation view will also provide appropriate interfaces to subset the available pronouns based on the desired subject and object combinations to help the user make the correct choice.
Base Functionality
The goal is for Scribe to have all the functionality of system keyboards. See the issues if interested in helping.
Current base features include:
., ? and !
Featured By
Please see the blog posts page on our website for a list of articles on Scribe, and feel free to open a pull request to add one that you've written at scribe-org/scri.be!
Organizations
The following organizations have supported the development of Scribe projects through various programs. Thank you all! ๐
Powered By
Contributors
Many thanks to all the Scribe-iOS contributors! ๐
Code and Dependencies
The Scribe community would like to thank all the great software that made Scribe-iOS' development possible, with special thanks going to:
- GRDB by groue (License)
- SwipeableTabBarController by marcosgriselli (License)
- SwiftyJSON by SwiftyJSON (License)
- CustomKeyboard by EthanSK (License)






