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

Localisation: Norwegian #892

Open
majarall opened this issue Mar 31, 2023 · 6 comments
Open

Localisation: Norwegian #892

majarall opened this issue Mar 31, 2023 · 6 comments

Comments

@majarall
Copy link

majarall commented Mar 31, 2023

1.Potential keyboard layout examples:
https://www.branah.com/norwegian

Standard keyboard layouts:
Shift up:
image
Shift down:
image

2.Online keyboards:
https://www.branah.com/norwegian
https://www.lexilogos.com/keyboard/norwegian.htm
...

3.Transifex: https://www.transifex.com/optikey/optikey/language/nb/

4.Breakdown of (potentially) required characters:

Shift up: ABCDEFGHIJKLMNOPQRSTUVWXYZÆØÅ
Shift down: abcdefghijklmnopqrstuvwxyzæøå
Marks:
Punctuation: « » § –
Symbols:
Infrequents: čđńŋšŧžČĐŃŊŠŦŽǎǍáãçèêíñúüäöÁÃÇÈÊÍÑÚÜÄÖ

5.Overview doc: https://r12a.github.io/app-charuse/?language=nb

6.Branch: Pending

@catstaffo
Copy link

Hi, I'd like to start helping out with localization tasks for this project. Looks like this task is still open, just want to check that's still true/I will not be treading on anyone else's PR if I begin work.

@kmcnaught
Copy link
Collaborator

Hi, welcome! As far as I am aware no-one is working on this. Do you know Norwegian?

@catstaffo
Copy link

Hi, welcome! As far as I am aware no-one is working on this. Do you know Norwegian?

Great! Yes, I speak Norwegian.

@kmcnaught
Copy link
Collaborator

Great! We don't, so your input would be very valuable :-)

It looks like the UI translation has mainly been done already according to what it says here: https://explore.transifex.com/optikey/optikey/ (it's at 96%). If you join the site and sign up as a translator, @JuliusSweetland will get a notification and can approve you to fill in the gaps.

This thread: #148 has detailed information about adding a language, a lot of the information has been provided in this thread already. Here is an open PR for a different language: Brazilian Portuguese PR which shows various code changes that need putting in place.

Probably the next steps would be:

  • finish the last 4% of translations on Transifex
  • find a suitable dictionary list (details in the linked translation thread)
  • Add the dictionary file to the project, add enums, KeyValues, strings for describing the language, and hook up in various places copying what we've done for Brazilian portuguese
  • (potentially largest task) Create a keyboard XAML, like one of the others here: https://github.com/OptiKey/OptiKey/tree/main/src/JuliusSweetland.OptiKey.Core/UI/Views/Keyboards - you can probably find one that is already very similar, for a language that has similar diacritics that you can base it on.
  • finish hooking it all together (I can help review everything)

Once you've done the translations and the dictionary file let me know if you have any questions about the coding tasks and I can give more guidance.

Thanks!

@kmcnaught
Copy link
Collaborator

Can you also please give some enlightment with regard to Bokmål vs Nynorsk. Would you expect that an on-screen keyboard app supports both Bokmål and Nynorsk? Optikey is used for people to communicate, for example to speak out their sentences as their form of speech, as well as typing e.g. emails and writing documents, if this makes a difference.

@catstaffo
Copy link

Thank you for the detailed description of what needs doing-- that helps a lot. I've requested to join the Norwegian team on Transifex and I look forward to working on this.

I wouldn't expect that an on-screen keyboard app supports both. Most software only supports Bokmål. Luckily, anyone who speaks Norwegian is able to write in Bokmål, even if they are among the few who prefer Nynorsk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants