Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indonesian keyboard #727

Merged
merged 10 commits into from
Oct 3, 2024
Merged

Indonesian keyboard #727

merged 10 commits into from
Oct 3, 2024

Conversation

bennylin
Copy link
Contributor

@bennylin bennylin commented Jun 3, 2023

No description provided.

@amire80
Copy link
Contributor

amire80 commented Jun 6, 2023

This definitely needs tests. In addition, can you please explain the motivation for the keyboard? From what I heard, Indonesian is usually written without diacritics.

@bennylin
Copy link
Contributor Author

bennylin commented Jun 6, 2023

I will write some tests.

The purpose is to accommodate writing in Indonesian Wikipedia, Wikisource (old spellings), and Wiktionary, where many articles include the local names in various local languages in Indonesia. Thus, this is the keyboard that provides all the special Latin letters from Javanese, Madurese, Nias, Sundanese, Acehnese, Banjarese, Minang, Batak, etc.

@bennylin
Copy link
Contributor Author

bennylin commented Jun 6, 2023

The purpose is to accommodate writing in Indonesian Wikipedia, Wikisource (old spellings), and Wiktionary, where many articles include the local names in various local languages in Indonesia. Thus, this is the keyboard that provides all the special Latin letters from Javanese, Madurese, Nias, Sundanese, Acehnese, Banjarese, Minang, Batak, etc.

Also, in Indonesian language spelling standard (2015), actually the e accent are recognized and the letter 'e' could be written with different accent to avoid ambiguity
https://id.wikisource.org/wiki/Peraturan_Menteri_Pendidikan_dan_Kebudayaan_Republik_Indonesia_Nomor_50_Tahun_2015/Lampiran#B._Huruf_Vokal

@amire80
Copy link
Contributor

amire80 commented Jun 6, 2023

Have you considered doing something more like the Yoruba or Fon Tilde keyboards? In them, you first write a letter and then a combination of ~ and characters like ', `, ^, etc.

@bennylin
Copy link
Contributor Author

bennylin commented Jun 6, 2023

Have you considered doing something more like the Yoruba or Fon Tilde keyboards? In them, you first write a letter and then a combination of ~ and characters like ', `, ^, etc.

Do you mean these:

			[ '~\\\\', '\u0300' ], // Combining grave
			[ '~/', '\u0301' ], // Combining acute
			[ '~\\^', '\u0302' ], // Combining circumflex
			[ '~\\-', '\u0304' ], // Combining macron
			[ '~v', '\u030C' ] // Combining caron

That would be two code points, no? 'e' + acute, or 'e' + grave. Preferably the result should be only one single code point.

Copy link
Member

@srish srish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be ideal to have a documentation for the keyboard on wiki and then update the URL in the code later.

@srish srish merged commit 29877f8 into wikimedia:master Oct 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants