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

Are capital letters preserved? #2

Closed
Ginden opened this issue Jul 26, 2021 · 1 comment
Closed

Are capital letters preserved? #2

Ginden opened this issue Jul 26, 2021 · 1 comment

Comments

@Ginden
Copy link

Ginden commented Jul 26, 2021

I have string Α108 (Greek Capital Letter Alpha). Online version translates it as a108 (small letter).

@charlesLoder
Copy link
Owner

charlesLoder commented Jul 26, 2021

@Ginden

SBL's handbook was a little ambiguous in regards to capitals. Note in the snapshot below that both alphas are transliterated with a lowercase 'a' and this is the case for every character.

image

But the capital pi below is transliterated with an uppercase 'P'

image

I went with the former since the latter was implicit.


An option like:

transliterate("Αλφα", { capitals: true })
// Alpha

would not be difficult to implement

charlesLoder added a commit that referenced this issue Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants