summaryrefslogtreecommitdiff
path: root/utilities.go
diff options
context:
space:
mode:
Diffstat (limited to 'utilities.go')
-rw-r--r--utilities.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities.go b/utilities.go
index 602d4fe..f3b0ece 100644
--- a/utilities.go
+++ b/utilities.go
@@ -38,7 +38,7 @@ func GetLanguage(r *http.Request) string {
} else {
if c.Value != "" {
if c.Value == "de" {
- return "_" + c.Value
+ return c.Value
} else {
return ""
}
@@ -50,7 +50,7 @@ func GetLanguage(r *http.Request) string {
lang := r.Header["Accept-Language"][0]
l := strings.TrimSpace(strings.Split(lang, ",")[0])
if l == "de" {
- return "_" + l
+ return l
}
return ""
}