pinsdorf / MMM-WeeklySchedule

Module for MagicMirror which shows a weekly timetable. Might be helpful for students/teachers/parents to show class schedules, weekly gym courses, sports training sessions, and general weekly recurring events.
MIT License
65 stars 26 forks source link

Norwegian translation #11

Closed mabahj closed 5 years ago

mabahj commented 5 years ago

(Simply a copy from Danish)

pinsdorf commented 5 years ago

Hello @mabahj. Thanks for extending this module further with your contribution. Much obliged. Your code looks perfectly fine. I was surprised to see the language code nb instead of no. I looked it up in Wikipedia and learnt that Norwegian actually has two written languages with separate language codes: nb = Bokmål and no = Nynorsk respectively. Wow!

Question: Would a user configure MM's language settings as one or the other? What is the common use case? Would it make sense to have your contribution both at nb and no?

mabahj commented 5 years ago

Hi, There are strong opinions in Norway on our two written languages, so I should thread carefully here., but most use Bokmål (nb), so that's the safest bet. The languages are however very similar, equivalent to dialects, I'd say. But those who use Nynorsk would of course appreciate a translation, even for these three words. (The code is "nn", not "no". The "no" code is sort simply "Norwegian", which does not really make sense when referring to written languages.)

Anyhow - MagicMirror (https://github.com/MichMich/MagicMirror/tree/master/translations) supports nb and nn. I'm not as good in Nynorsk as I should, but I pushed an nn.json with what I think it is.

pinsdorf commented 5 years ago

Thank you very much!