Search code examples
android-source

Can I send commits to Android with new langue locale and keyboard layouts?


Can I send a commit once I have figured out how to add a language (Kurdish) which is still not in Android source code upto API 28?

Bonus: where would you start from? Link to few files/folders that need changing in AOSP such as here:

https://github.com/aosp-mirror

Feel free to mark it as a duplicate question but I could not find one.

Thank you.


Solution

  • Submitting Patches

    Yes, you can create patches and send them to Androids review server for approval. Android even has a tutorial on how to do that: https://source.android.com/setup/contribute/submit-patches. Note that the official git server for Android is https://android.googlesource.com

    Adding Locales

    Ideally, you wouldn't have to contribute to the official AOSP repositories just to add a custom locale. But it looks like custom vendor locales are not (yet) supported. You will likely (I have zero experience with adding locales) have to update at least external/icu/icu4c/source/data/lang and build/make/target/product/languages_full.mk.

    Did you notice that there might already be a kurdish locale in icu4c?