Norwegian locale

Steps to reproduce

Select ‘Norsk’ (norwegian) language.

When I use Templater date macros, which uses Obsidians window.moment, I get date strings according to the ‘nn’ (Nynorsk) locale. The most common norwegian locale is Bokmål (nb).

Without wanting to start a language war, I think most norwegians would prefer the ‘nb’ locale. Being able to select either one would be the perfect solution.

<% tp.date.now(“dddd”) %>

Expected result

tirsdag

Actual result

tysdag

Environment

  • Operating system: Ubuntu Linux 20.04
  • Obsidian version: 0.12.1

➜ ~ locale
LANG=nb_NO.UTF-8
LANGUAGE=nb_NO:en_US:en

Nynorsk locale is nn_NO.UTF-8


Additional information

This is not a translation issue. It is about selecting the most preferred momentjs locale for the norwegian language.

3 Likes

It seems that non-scandinavic programmers almost always fall for that: Nynorsk (“New Norwegian”) sounds like the “new” version of a language, while outside Scandinavia Bokmål (lit. “book tongue”) is almost unknown (there is no “Norsk” in it).

In earlier times, even I fell for it when programming—until a friend informed me about it.

I agree both versions should be selectable.

1 Like