I would like the setting for "Locale & formatting" to have the norwegian (NO, Bokmål) alternative.
Thanks!
Hi @benjamin.tolfsen, and welcome to the forum! we have received your request, and we will let you know if there is an update on this.
Hi @benjamin.tolfsen I want to confirm from you if this is the correct format in this locale.
Example date: mandag 30. januar 2023 kl. 18:25
Example currency: 43 12327kr
Hi, thanks for the reply!
The date example is correct. (EDIT: Short format is 30.01.23)
Currency example could be (if possible):
4.312.327 kr (full-stop punctuation after thousands)
4.312 kr
312 kr
12,52 kr (we use commas instead of full-stop punctation for decimals)
For {BLAZE_AND} "og" == "and"
Thanks in advance!
I was looking at this reference page and they specify a space character as the thousands separator (instead of the comma). So I just want to double check we're referencing the same locale in Norwegian?
And I have fixed the decimal now. After the fix, this snippet:
{=join(["a", "b"], "BLAZE_AND")}
{=join(["a", "b"], "BLAZE_OR")}
{repeat: for val in [1234567.123, 123, 1, 1234]}
Testing {=val}
{=val; format=,}
{=val; format=,%}
{=val; format=,.2f}
{=val; format=$}
{endrepeat}
gives me:
a og b
a eller b
Testing 1234567.123
1 234 567.123
123 456 712.300000%
1 234 567.12
1234567.123kr
Testing 123
123
12 300.000000%
123.00
123kr
Testing 1
1
100.000000%
1.00
1kr
Testing 1234
1 234
123 400.000000%
1 234.00
1234kr
Hey again,
Sorry for the late reply.
Yes, we're referencing the same locale
I believe both space and full-stop are common for thousands seperator (so this is good), but its always commas for decimals.
Testing 123 should be
123
12 300,000000%
123,00
123kr
Testing 1234 should be:
1 234
123 400,000000%
1 234,00
1234kr
The "BLAZE_AND / OR" example is perfect, thanks!
Thanks for confirming, I have fixed it. New outputs are here (also added date). Let me know if they look good.
{=join(["a", "b", "c"], "BLAZE_AND")}
{=join(["a", "b", "c"], "BLAZE_OR")}
{time: MMMM Do YYYY},{time: YYYY-MM-DD},{time: HH mm ss}
{repeat: for val in [1234567.123, 123, 1, 1234]}
Testing {=val}
{=val; format=,}
{=val; format=,%}
{=val; format=,.2f}
{=val; format=$}
{endrepeat}
a, b og c
a, b eller c
januar 31. 2023,2023-01-31,15 16 35
Testing 1234567.123
1.234.567,123
123.456.712,300000%
1.234.567,12
1234567,123kr
Testing 123
123
12.300,000000%
123,00
123kr
Testing 1
1
100,000000%
1,00
1kr
Testing 1234
1.234
123.400,000000%
1.234,00
1234kr
I have now also changed the thousands separator to a period as you suggested. Can you confirm if the currency kr
symbol is a prefix or suffix? Or both are okay?
Hey again,
The currency symbol "kr" is a suffix.
I only have one thing to comment on this, didn't notice it earlier - but the symbol should come after a space.
Testing 123
123
12.300,000000%
123,00
123 kr
Thank you!
Hi @benjamin.tolfsen this configuration is now available in the user settings (Text Blaze Dashboard). Please feel free to try it out, and let me know if it works for you.
This works perfect! Thank you