Skip to content

Commit c1e6dc2

Browse files
authored
Merge pull request #8 from 1maiprogram/i18n
Add support for changing language
2 parents ba2c899 + 1f01927 commit c1e6dc2

34 files changed

Lines changed: 661 additions & 57 deletions

package-lock.json

Lines changed: 180 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@angular/platform-browser": "^21.2.7",
3434
"@angular/platform-browser-dynamic": "^21.2.7",
3535
"@angular/router": "^21.2.7",
36+
"@jsverse/transloco": "^8.3.0",
3637
"@ngneat/until-destroy": "^10.0.0",
3738
"@sentry/angular": "^10.50.0",
3839
"@sentry/cli": "^2.58.5",

public/i18n/en_GB.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"about": {
3+
"paragraph1": "Have you thought about maybe joining the 1st of May parade and wondering when it starts?",
4+
"paragraph2": "But when you search on the internet you find either no references or just old programs for previous years?",
5+
"paragraph3": "With this website you never have to doubt anymore and can always find the current year's program directly.",
6+
"back_button": "Back"
7+
},
8+
"footer": {
9+
"about": "About this website",
10+
"contributing": "Contributing updates?",
11+
"source_code": "Source code"
12+
},
13+
"kommune": {
14+
"contribute": "Can you contribute?",
15+
"missing": "Unfortunately, information for this municipality is missing.",
16+
"program": "Program"
17+
},
18+
"language_selector": {
19+
"select_language": "Select language"
20+
},
21+
"main": {
22+
"title": "Find the 1st of May program for your area"
23+
},
24+
"menu_service": {
25+
"select_year": "Select year",
26+
"select_fylke": "Select county",
27+
"select_kommune": "Select municipality"
28+
},
29+
"updates": {
30+
"example": "Example",
31+
"email_line1": "Subject: 1st of May program link for Minby",
32+
"email_line2": "Description: Minby municipality's program",
33+
"email_line3": "Best regards",
34+
"paragraph1a": "You can send email with updates to",
35+
"paragraph1b": "which contains",
36+
"paragraph1c": "as well as a very short description/text for the link.",
37+
"paragraph2": "To filter out spam, make sure to include the word \"skomakermelk\" somewhere in the text, all emails that do not do this will be automatically deleted.",
38+
"paragraph3": "NB, do not send in links to Facebook or X (previous Twitter). They will under absolutely no circumstances be used!",
39+
"paragraph4a": "If you send in multiple links at once, you can best use",
40+
"paragraph4b": "either as text in the email or as an attached file (remember to still include \"skomakermelk\" in the email text).",
41+
"back_button": "Back"
42+
}
43+
}

public/i18n/en_GB.json.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2026 Håkon Løvdal <kode@denkule.no>
2+
3+
SPDX-License-Identifier: GPL-3.0-or-later

0 commit comments

Comments
 (0)