Skip to content

Commit a2f1a88

Browse files
authored
Added english version of guide
1 parent f606668 commit a2f1a88

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

docs/changing-element-names-from-NemID-to-MitID.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
---
2+
title: Changing element names from NemID to MitID
3+
layout: default
4+
nav_order: 50
5+
parent: Documentation / Instructions
6+
---
7+
8+
# Changing element names from NemID to MitID
9+
10+
Via the module “OS2forms NemID” in OS2forms, a number of elements can display data about a CPR or CVR number. When the module was developed, the name of the module and the elements were named so that they contain the word “NemID”, but since “NemID” no longer exists and is now called “MitID”, this must of course be corrected in OS2forms.
11+
12+
In order for the module and elements to still work as intended (backwards compatible), it has been decided that the naming of the elements will not be changed, and that the display name of the elements and any explanation in the help texts should be changed using the translation module in Drupal.
13+
14+
If you want the naming to be changed from “NemID” to “MitID”, then you just have to do the following:
15+
16+
1. [Download this translation file](assets/translation-from-NemID-to-MitID.po)
17+
2. Log in as administrator in OS2forms
18+
3. Navigate to “COnfiguration” -> “Region and language” -> “User interface translation” (/admin/config/regional/translate)
19+
4. Click on the “Import” tab
20+
5. Click on “Select file” and find the file you downloaded under point 1. The other settings on the page should be as follows:
21+
22+
1. Enable “Treat imported strings as custom translations”
23+
2. Enable “Overwrite non-customized translations”
24+
3. Enable “Overwrite existing customized translations”
25+
26+
6. Click on “Import” and let OS2forms do the work for you.
27+
28+
---
29+
130
# Ændring af elementnavne fra NemID til MitID
231

332
Via modulet “OS2forms NemID” i OS2forms udstilles en række elementer, der kan vise data omkring et CPR eller CVR-nummer. Da modulet blev udviklet, blev navnet på modulet og elementerne navngivet så de indeholder ordet ”NemID”, men da ”NemID” ikke længere eksisterer og nu hedder ”MitID”, så skal dette selvfølgelig rettes til i OS2forms.
@@ -6,7 +35,7 @@ For at modulet og elementerne stadig vil virke efter hensigten (bagudkompatibelt
635

736
Hvis man ønsker at navngivningen skal ændres fra ”NemID” til ”MitID”, så skal man blot gøre følgende:
837

9-
1. Download denne oversættelsesfil[link til download](assets/translation-from-NemID-to-MitID.po)
38+
1. [Download denne oversættelsesfil](assets/translation-from-NemID-to-MitID.po)
1039
2. Log ind som administrator i OS2forms
1140
3. Naviger til ”Indstillinger” -> ”Region and language” -> ”Oversættelse af brugergrænseflade” (/admin/config/regional/translate)
1241
4. Klik på fanen ”Importér”

0 commit comments

Comments
 (0)