Giter Site home page Giter Site logo

languagepack's Introduction

AnySoftKeyboard Latest release

Discussions can be found on 💬 GitHub
Follow us on Mastodon
Support chat-channels can be found on Gitter chat

main latest build 
main coverage codecov

Android (f/w 4.0.3+, API level 15+) on screen keyboard for multiple languages.

Get it on Google Play  Get it on F-Droid

Sign up to beta-channel here. Beta versions are pushed via Google Play Store.

Features

  • All kinds of keyboards:
    • Supporting lots of languages via external packages. E.g., English (QWERTY, Dvorak, AZERTY, Colemak, and Workman), Hebrew, Russian, Arabic, Lao, Bulgarian, Swiss, German, Swedish, Spanish, Catalan, Belarusian, Portuguese, Ukrainian and many more.
    • Special keyboard for text fields which require only numbers.
    • Special keyboard for text fields which require email or URI addresses.
  • Physical keyboard is supported as-well.
  • Auto-capitalization.
  • Word suggestions, and Next-Word suggestions.
    • Automatic correction can be customized, or turned off entirely.
    • External packages include word lists that can be freely mixed. You can use a French layout and get suggestions for German and Russian!
  • Gesture typing.
  • Dark mode, automatic (based on system) and manual.
  • Power saving mode, disables various features to save battery.
  • Per-app tint, the keyboard changes color depending on the current app.
  • Special key-press effects:
    • Sound on key press (if phone is not muted).
    • Vibrate on key press.
  • Voice input.
  • Incognito Mode - will not learn new words, will not keep history of what was typed (including emoji history).
  • Plenty of emojis - long-press the smiley key. You customize those by clicking the Settings icon in emojis window.
  • More on AnySoftKeyboard can be found here.

Releases

from main branch

IME - AnySoftKeyboard

  • Every commit to main branch will deploy a new release to the ALPHA channel in Google Play-Store. You can subscribe to this release channel by joining the Google Groups group, and opt-in by visiting this link.
  • Every Wednesday the latest ALPHA will be promoted to BETA. You can opt-in to this channel by visiting this link.
  • Once all requirements for a release were finished, a STABLE release branch (in the format of release-branch-ime-vX.X-rX) will be cut. Every commit to this branch will be automatically published to Google Play Store (STABLE channel) and will roll-out users gradually.

AddOns

  • Every commit to main branch will deploy all addons to closed-testing ALPHA channel in Google Play-Store. If you want to subscribe to this channel, open a ticket and asking to join.
  • Every Wednesday the latest ALPHA will be promoted to BETA. This is only for supported packs. The BETA channel is an open-testing group, you can subscribe to this release channel by joining the BETA channel for each addon.
  • Once all requirements for a release were finished, a STABLE release branch (in the format of release-branch-addons-vX.X-rX) will be cut. Every commit to this branch will be automatically published to Google Play Store (STABLE channel) and will roll-out users gradually.

from release-branch

IME - AnySoftKeyboard

  • Each new commit to the release-branch will be published to 10% of the users.
  • Each day - if no new commit was pushed to the release-branch - we will increase the roll-out.
  • When roll-out reaches 100%, an fdroid release will be made.

AddOns

  • Each new commit to the release-branch will be published to 10% of the users.
  • Each day - if no new commit was pushed to the release-branch - we will increase the roll-out.

Read more

  • Our fancy web-site
  • Language-Pack add-ons in this repo.
  • Theme add-ons in this repo.
  • Quick-Text add-ons in this repo.
  • Crowdin to translate the app to your language. Crowdin
  • Via Bountysource, users can post bounties and developers can claim them when fixing bugs. This is an external community project and not directly sponsored by the ASK developers!

Development/Contributing

Want to develop a new feature, fix a bug, or add new language-pack? Read more here. Contributors should adhere to the Code of Conduct document.

Copyright requirement

Remember: the components in this repository are released under the Apache2 license. By contributing to this repository you give all copyright and distribution rights to the AnySoftKeyboard maintainer.

License

Copyright 2009 Menny Even-Danan

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

languagepack's People

Contributors

arenal5 avatar azzamsa avatar bisaromer avatar boffire avatar david-gil avatar erwan-witekio avatar friesenkiwi avatar herrlado avatar joukewitteveen avatar kati42 avatar katyasyc avatar kokoye2007 avatar koscicz avatar krsticstefan avatar llahteinen avatar luan1carlos2 avatar lulucca12 avatar malum-prohibitum avatar martholomew avatar masipcat avatar menny avatar mliberato avatar pelya avatar phief avatar pokerazor avatar promyloph avatar rillian avatar rimas-kudelis avatar sslaia avatar taknok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

languagepack's Issues

French keyboard

Hi,

The French AZERTY keyboard now has 2 simple quote ( ' ) keys, see screenshot.
I suggest changing the new one (the one on the left to the erase key) as a dot ( . ) key as this is a really badly missing one on the French keyboard.

Cheers, TMTisFree
(French translator of ASK)

screenshot_2018-03-12-15-47-40

Galician Language Pack

Galician language pack. Dictionary generated from galician wikipedia texts using a script adapted from this.

title Paquete de lingua galega

promo Paquete de lingua galega para AnySoftKeyboard

description Paquete de teclado AnySoftKeyboard: teclado e diccionario Galego.

Isto é unha extensión para AnySoftKeyboard. Instala primeiro AnySoftKeyboard, logo selecciona o idioma na opción Settings->Keyboards.

Adding Indonesian Language Pack

this is an Indonesian languagepack and dictionary.

https://github.com/azzamsa/ask-indonesian-keyboard

Translation :

title

Paket Bahasa Indonesia

promo

Paket Bahasa Indonesia untuk AnySoftKeyboard

description

AnySoftKeyboard Paket Bahasa Indonesia : kamus dan papan ketik Indonesia

Ini adalah paket ekspansi untuk AnySoftKeyboard. pasang AnySoftKeyboard terlebih dahulu, kemudian pilih tata letak yang diinginkan dari menu AnySoftKeyboard Settings-> Keyboards.

Arabic keyboard

Hello i need to do these settings for arabic keyboard?

I replaced it with arabic scripts for files

Word completion not working

task parseTextInputFiles(type: com.anysoftkeyboard.tools.generatewordslist.GenerateWordsListTask) { inputFiles new File(project.getProjectDir(), "dictionary/NY_STATE_ASSEMBLY_TRANSCRIPT_20120621.txt"), //Download the archive from https://dumps.wikimedia.org/other/static_html_dumps/current/simple/ new File(project.getProjectDir(), "dictionary/First_English_Civil_War_Wikipedia.htm") outputWordsListFile new File(project.getProjectDir(), "dictionary/words_from_texts.xml") wordCharacters "يوهنملكقفغعظطضصشسزرذدخحجثتبا".toCharArray() additionalInnerCharacters "".toCharArray() locale Locale.forLanguageTag('ar') }

This part is correct

wordCharacters "يوهنملكقفغعظطضصشسزرذدخحجثتبا".toCharArray() additionalInnerCharacters "".toCharArray() locale Locale.forLanguageTag('ar')

Icelandic Language Pack

Icelandic languagepack and dictionary. The dictionary is from Firefox, released under GPL v2.
The frequencies are not correct, I will try to update that at a later date.

https://github.com/aevare/LanguagePack/tree/Icelandic/

Translations:

title

Íslenskur tungumála pakki

promo

Íslenskur tungumála pakki fyrir AnySoftKeyboard

description

AnySoftKeyboard lyklaborðs pakki: Íslenskt lyklaborð og orðabók.

Þetta er viðbót fyrir AnySoftKeyboard. Settu upp AnySoftKeyboard fyrst, veldu svo þennan pakka i AnySoftKeyboard's Settings->Keyboards menu.

New Sicilian language pack

Hello,
as part of the ongoing effort in making Sicilian (scn) a recognized language by local authorities, I've created, inside Cadèmia Siciliana @cademia, a Sicilian keyboard. I therefore ask for the creation of a new branch, so that I can send a PR.

I currently have a nice working keyboard, and have also generated a dictionary. I need to make the latter a bit better, since the given suggestions don't seem of high quality (I'm parsing a dump of scn,wikipedia.org), but I guess this can be improved later.

Thank you for ASK!

Add option to change the language used in the user interface of the app

Some apps (Firefox, Telegram…) give the option to change the language used in the user interface of the app without changing the locale of the device. It would be great if AnySoftKeyboard did the same.

Basque language is an officially supported language in Android but most manufacturers don’t include it in their custom Android builds yet, as a consecuence, many Basque speakers have devices with Spanish/French locales. I think that it’s a common issue with other minoritary languages as well.

In older versions of Android it was easy to change the locale of the device using apps like EveryLocale, but nowadays it’s more difficult. The user must use adb to give permission to EveryLocale to change the locale, that’s too complex for most users.

Missing button

As of the latest update the right button in the upper bar disappeared. This is an intended issue by the release notes, but now the only way to switch back from the symbol layout to the normal is to swipe.
tmp_32279-screenshot_20161224-1436481813796454

Keyboard settings on the language pack level

It would be very useful when ASK could provide specific settings on the LanguagePack level.
For example in my keyboard there is one layout which could simply be modified:

  • swap y and z
  • enable/disable multitap
  • enable/disable popup
  • enable/disable physical mapping

Note: There was the specific feature request on G+ about preservation of QWERTY/Z selection on Latin keyboards.

Source for german language pack?

Is the sourcecode for the German language pack available somewhere?
I found the apk here and in the Playstore, but can't find the sourcecode. I would love to have it in f-droid, but I think therefor the sourcecode is needed.

Several combination for one key

I trying to associate letter "х" to alt+o and i got it. But when i trying to press shift+alt+0 do not get "X". I tryed to add this line:
<SequenceMapping keySequence="44" altModifier="true" shiftModifier="true" targetChar="X" />
and I always get "X", with pressing shift and without shift.
This is a bag? Or i doing something wrong?

Centralization of language pack

Maybe you can create each languague pack separately in this repository to easily improve them. Another Idea is to allow the user to download language pack in the app and theme for keyboard as apk and let the user choose which keyboard to associate with each language pack .

Dependency on AnySoftKeyboard apk

Oftentimes end-users install a language pack without reading the instructions and get disappointed that the app is not working right away. Would it be possible to add a dependency into the language pack apk so it'd require installing ASK and maybe even help to find it and ask if it's OK to install ASK automatically? Thank you.

Czech layout: dictionary doesn't work

Hallo,
I use German, English and Czech layouts. For German and English everything works, but for Czech there's no autocorrection.
Anysoftkeyboard: 1.8.1333
Czech layout: 2.0.0

Turkish Language

Hello,
As there is no Turkish language pack for ASK, i made one somehow. There is this problem;

Turkish has 2 "i" letter, with a dot[i] and without it[ı]. When we create a layout with these and try to write in capitals, both letter becomes [I]. This is the default capital for [i] in English but in Turkish [i] becomes [İ] and [ı] becomes [I].

Here is a Wikipedia webpage about the problem:
https://en.wikipedia.org/wiki/Turkish_dotted_and_dotless_I

So what I am asking is: Is there a way to change the capitals for a layout (I could not find any) or how can we avoid this?

Shift missing in URL mode

The shift button is missing when typing urls, which is rarely useful, but sometimes necessary. E.g. I had to switch to another keyboard to type this github url :)

Czech language pack update

The Czech branch contains the old data/code (org.herrlado...).

Should I sync the branch with the master and update it to com.anysoftkeyboard.languagepack...?

Do you have any plan for the transition of the package in such case?

Value of f in UserWords.xml and words.xml

After following instruction how to create binary dictionary here, which I search and find the app my self trough search engine, cause it is not mentioned in LanguagePack Readme file. :)

I got words.xml with bunch of words, and the value of f=x is up to f="1586873, but when we export user dictionary from app the value of f is up to 255.

  1. is it is fine, or we need to tidy up the value of f manually ? or the app will handle it?
  2. I found some non-local Indonesian word in words.xml e.g author,date,time and some strange words e.g ac,a,ad,as,af , do we need to remove it ?, I think removing it in 49789 lines will consume days.

during the past days using ASK, I hack it to avoid many typos by :

  • renaming words.xml to UserWords.xml
  • put it in root\sdcard\Android\data\com.menny.android.anysoftkeyboard\files
  • do restore
  • finish

but of course non Indonesian suggestion still appears.


@menny @friesenkiwi thanks for #72, sorry for late reply, I really waiting you guys, checking that issue almost everyday. but these two week I get some busy in deep village with minimal electricity and internet connection, so sorry for late reply. thanks lot.

Adding Kabyle LanguagePack

Hi @menny,
I would like to help and create a Kabyle LanguagePack for AnySoftKeyboard.
Kabyle language or Taqbaylit is ISO 639-3.
About Kabyle language : https://en.wikipedia.org/wiki/Kabyle_language
There's a little kab Wikipedia here : https://kab.wikipedia.org/
Mozilla Firefox was translated in Kabyle recently : https://mozilla.locamotion.org/kab/
Mozilla Website in kab : https://www.mozilla.org/kab/

The input method as a first step is to be able to type in latin. The other step is to be able to switch to another Keyboard which is called Tamazight (may be we need a special font to install here such as Noto Tifinagh on Android).

Tifinagh in Unicode : https://en.wikipedia.org/wiki/Tifinagh#Unicode
Let's start with Kabyle (Taqbaylit) first.

There a simple Layout on this app that we can reproduce and improve (KeyBer) :
https://play.google.com/store/apps/details?id=com.pcps.inputmethod.skeyboard

Thank you for reading me :-)

Typo in Russian 2.0 tag

Russian 2.0 is tagged as russion_2.0 instead of russian_2.0. Could you add (not replace) the correct tag?

Latvian keyboard double press letter change

Hey!
The latvian keyboard has a feature, I guess intended for physical keyboards: https://github.com/AnySoftKeyboard/LanguagePack/blob/Latvian/src/main/res/xml/qwerty_physical.xml
So this changes eg. ss so š. The problem is that latvian has many words with for example "ss", or other double letters. So when I am typing those words, eg. "ieeja", I get as result "iēja".
Is there any reason for this physical keyboard config to exist? Shouldn't physical keyboards include other keys which can be used to achieve those special letters?
I am for deleting the physical keyboard config.

German reduced language pack

I'm using the german language pack on my S4,
no problem the keys are large enough. But using this setup on the S4
mini the keys get a bit small. Therefore the question:
Is there a german qwertz-layout available with less (no ä,ö,ü,ß
etc) but larger keys?
Actually I'm using the english layout but this is qwerty :-(

What does folder/package means?

Hi, trying to go through README but can't get over point 3

In Android Studio, Refactor->Rename the folder/package com.anysoftkeyboard.languagepack.languagepack in the project tree, replacing the last languagepack with the name of the language. This will automatically change it at a couple of other locations.

I'm in Android Studio 2.3.3

Spanish Dvorak layout: dictionary doesn't work

Hi!
I'm trying the Spanish Dvorak layout, but it defaults to the English Dictionary. Looking through settings, I've seen it like Dvorak - (en).

Using latest version from F-Droid but with the Play Store one is the same.

Marked as vulnerable in F-Droid

I just updated F-Droid to version 1.0 and it altered me that a number of my installed packages, including the French language package for ASK, were vulnerable.

More precisely, it has the KnownVul and DisabledAlgorithm tags, both described here. From what I understand, it is mostly a matter or re-packaging rather than re-coding anything...

Help with creating a new Macedonian pack

I'd really like to make a language pack but I don't know anything about Android code.
Do you think I'll manage to make it on my own and are there any tutorials that are straight forward for this type of thing? Any resources I could use to make it easier for me?

Improper Handling of Shift Key for Indian Languages

We are developing Language Pack for 22 Indian Languages. However, we are facing some issues regarding developing Language Pack.

  1. Indian Language characters and conjuncts on both Shift and Unshift layers of the keyboard are not getting inputted properly. Anysoftkeyboard doesn't handle shift key on the keyboard properly for Indian Language(s).
    For instance,
    Consider this Key element
<Key android:codes="0x094C" android:keyWidth="7%p" custom:shiftedCodes="0x0914" custom:shiftedKeyLabel="\u0914" android:horizontalGap="1.5%p" android:popupCharacters="\u0914" android:keyEdgeFlags="left"/>

When Shift Key is pressed, the label on the above key changes from Unshift to shift(i.e from U+094C to U+0914) . But, when the above key is pressed the text entered in the editor is of the Unshift state(i.e U+094C).

Kindly let us know how to use Shift key for the above issue.

Esperanto: Problems with suggestions and auto corrections with capitalization

Here are some examples below of behavior with capitalization of the first letter of words. As you can see even though sometimes the target word does come up as a suggestion it doesn't become the choice and even disappears when completed or near completion. Here is also a link describing normal capitalization in Esperanto: http://en.wikipedia.org/wiki/Esperanto_orthography#Capitalization Seems to work fine but every starting of the sentence the auto capitalization kills the autocorrect.

Sincerely,
parawizard

Dormi (To Sleep, Verb):
D = no suggestions
Do = Don | Doni | Domo | Donis | more
Dor = For | Dorso | Dorson | Diri | more
Dorm = Formo | Formi Formoj | Formon | more
Dormi = Formi | Formo | Formis | Formita | more
Dormi -> Formi

Domo (House, Noun):
D = no suggestions
Do = Don | Doni | Domo | Donis | more
Dom = Don | Domo | Domoj | Domon | more
Domo = Romo | Domoj | Domon | Domojin | more
Domo -> Romo

Mi (I, Pronom):
M = no suggestions
Mi = Li | Ni | Mil | Miloj | Milito | more
Mi -> Li

dormi (To Sleep, Verb):
d = no suggestions
do = don | doni | domo | donis | more
dor = for | dorso | dorson | diri | more
dorm = formo | formi | formoj | formon | more
dormi -> dormi

domo (House, Noun):
d = no suggestions
do = don | doni | domo | donis | more
dom = don | domo | domoj | domon | more
domo = domo | romo | domoj | domon | more
domo -> domo

mi (I, Pronoun):
m = no suggestions
mi = mi | li | ni | mil | miloj | more
mi -> mi

German language: Section sign missing

On German computer keyboards the section sign "§" can be typed using Shift+3 so it is easily writable. In AnySoftKeyboard with German language layout I cannot see how to write this sign at all. I tried all buttons in all keyboard-views by long pressing on them. Inside the Android standard AOSP keyboard the section sign can be typed by long pressing on the pilcrow (¶). I think the section sign was simply forgotten.

French dictionnary update

Hi everyone,

Several people (and myself) who've tried the french language pack seem rather disappointed by its dictionnary correction/prediction system. For instance, it fails to recognize many conjugated verb forms, even common ones. That actually led me to switch to SwiftKey for my everyday phone, though I keep using ASK for my other devices.

Anyway : I believe the french dictionnary could be updated/upgraded with data from dicollecte.org (http://dicollecte.org/home.php?prj=fr), which provides (free-as-in-beer) french dictionnaries and thesauruses.

I already wrote about it there : AnySoftKeyboard/AnySoftKeyboard#109, but I guess a new issue here would be more logical.

No more suggestion on bepo keyboard

Since the last update, I don't have any suggestions while using the bépo layout but it comes back if I switch to the azerty layout.

Any idea on what's causing this?

Spanish Dvorak layout: Wrong default accents

The ASK Spanish Dvorak layout defaults to grave accents (`) when holding down "a", "e" and "o" keys, and they're never used in spanish language. It defaults to diaeresis (¨) too when holding down "u" (used in some cases). And it defaults to "ī" (i with macron) when "i" key is held down, symbol that isn't used in spanish language at all.

The acute mark (´) is the most used accent in spanish language and it would be nice if it's the default choice when holding down every vowel key. It's annoying when you're typing fast because it slows you down to having always to choose the right accent manually every time you need to put an accented vowel.

Italian grammar mistake

There is a grammar mistake in the italian pack.
The mistake is in this file: LanguagePack/dictionary/it_wordlist.combined

Wrong: "qual'è"
Right: "qual è"

Asking recomendation fo f value in word list

@friesenkiwi find nice Indonesian word list that crawled from specific web, so that it already contain a statistic value based on appearance.

e.g

yang	795050
di	709509
dan	629540
ini	332855
itu	313570
dengan 312096

but I want to know what is the max and min value of f in user word list ?, so that I can scale those big value to match min max value of ASK.

I done little research, and some of them e.g dutch contain only 72 - 255.

I have this simple awk script to scale all number wich work nice. But I am asking the recommended minimum value, is it 72, 1 or other ?

function scale_between(unscaled_num, min_allowed, max_allowed, min, max) {
    scaled_num = int((max_allowed - min_allowed) * (unscaled_num - min) / (max - min) + min_allowed);

}

{
    scale_between($2, 1, 255, 271, 795050);
    print $1, scaled_num;

}

PS: using this script the result will be like:

pemerintah      45524
pun     45026
jika    44460
jalan   43671
dinobatkan      274
memperbanyak    271
   
pemerintah 15
pun 15
jika 15
jalan 14
dinobatkan 1
memperbanyak 1
  

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.