You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changing-element-names-from-NemID-to-MitID.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff 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”
6. Click on “Import” and let OS2forms do the work for you.
27
+
28
+
---
29
+
1
30
# Ændring af elementnavne fra NemID til MitID
2
31
3
32
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
6
35
7
36
Hvis man ønsker at navngivningen skal ændres fra ”NemID” til ”MitID”, så skal man blot gøre følgende:
8
37
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)
10
39
2. Log ind som administrator i OS2forms
11
40
3. Naviger til ”Indstillinger” -> ”Region and language” -> ”Oversættelse af brugergrænseflade” (/admin/config/regional/translate)
0 commit comments