How to add a new translation entry to norwgian language-file?

Hi.
I have translateted the the sweedish language-file for the Leuven template into norwegian.
I want to add a new entry in wsLanguage-no.txt. The entry for this page: http://vindpropell.no/weather2/index.php?p=80&lang=en&wp=WD#data-area

I want to translate all the text in “About This Station” to norwegian. If you coose the norwegian languge on vindpropell and click on “Om stasjonen software”, (here: http://vindpropell.no/weather2/index.php?p=80&lang=no&wp=WD#data-area
you get the message “Sorry, no ‘no’ version of this page can be found.”.

How do I make an entry in the norwegian language-file, wsLanguage-no.txt, to translate the "About " page?


wsLanguage-no.txt (53.2 KB)

As there is a of information to be translated, the about page has a separate file for every language.
You find them in the weather2/about/ folder.
First copy the about-en.html to about-no.html and then adapt it with your own text. Although the extension is HTML you can use php inside the page also.
Wim

Works great!
Thanks.

I have used wsNewPage.php to make a page that shows the tide table that WD makes. Here: http://vindpropell.no/weather2/index.php?p=900&wp=WD&lang=no
The page I made, I put in a Iframe in wsNewPage.php. (and renamed it to tidevann.php).

I wrote the tekst in tidevann.php in english thinking to use the norwegian languaga file to translate the text to norwegian in stead of
having the text in norwegian in all languages.

But the text don

[quote author=tobydude link=topic=60476.msg482548#msg482548 date=1431767168]
I have used wsNewPage.php to make a page that shows the tide table that WD makes. Here: http://vindpropell.no/weather2/index.php?p=900&wp=WD&lang=no
The page I made, I put in a Iframe in wsNewPage.php. (and renamed it to tidevann.php).

I wrote the tekst in tidevann.php in english thinking to use the norwegian languaga file to translate the text to norwegian in stead of
having the text in norwegian in all languages.

But the text don

I include an example of how to use langtransstr with your tide html.
Different name of script, to test you have to put it in your menu file or rename it.
Wim


tidePage.php.zip (1.35 KB)

It worked! Thanks.

I just renamed the file you posted (tidePage.php) to the original file that allready was uploaded (tidevann.php) and since the norwegian language fil allredy had
the translation entrys added, it worked directly.