diff --git a/mapfile/template.j2 b/mapfile/template.j2 index 246077206c5f605012a7d2537e9cbda98dc7f622..bd5d20278d16db9e3ace577ffa707906f2f03c9e 100644 --- a/mapfile/template.j2 +++ b/mapfile/template.j2 @@ -28,6 +28,8 @@ PROJECTION "init=epsg:4326" END +{% language 'en' 'nb' %} + WEB IMAGEPATH "{{mapserver_image_path}}" IMAGEURL "/tmp/" @@ -55,7 +57,8 @@ WEB "wms_enable_request" "*" - "wms_title" "Potato Light Blight model " + "wms_title.en" "Potato Late Blight model " + "wms_title.nb" "Potettørråte Nærstads model" #"wms_onlineresource" "https://testvips.nibio.no/cgi-bin/NAERSTADMO" "wms_getfeatureinfo_formatlist" "text/plain,text/html,text/xml" "wms_accessconstraints" "none" @@ -98,7 +101,7 @@ LAYER STATUS ON METADATA - "wms_title" " Potettørråte Nærstads model {{ timestep_date }}" + "wms_title.nb" " Potettørråte Nærstads model {{ timestep_date }}" {% for language in languages %} "wms_abstract.{{language.language_code}}" " <ul style=\"list-style: none; padding: 0;\">