Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: [LANG] Dutch translation - sNews v.1.5RC  (Read 7405 times)

nointernet

  • Guest
[LANG] Dutch translation - sNews v.1.5RC
« on: September 21, 2006, 11:31:25 AM »

Simply copy the code and name it snews_NL.php , and edit language settings to 'NL' in admin. Done.


Code: [Select]

# DUTCH TRANSLATION sNews v.1.5RC
# TRANSLATED BY  noInternet BV http://www.noInternet.nl

#SITE LANGUAGE VARIABLES
$l['home'] = 'Home';
$l['home_sef'] = 'home SEF'; //home SEF
$l['archives'] = 'Archief';
$l['rss_feed'] = 'RSS Feed';
$l['contact'] = 'Contact';
$l['sitemap'] = 'Site Map';
$l['divider'] = '·'; //divider character
$l['image_folder'] = 'img';
#categories
$l['cat_listSEF'] = 'home,archief,contact,sitemap,rss,gallery,login,administration,add_category,add_article,article_new,side_new,page_new,categories,articles,extra_contents,pages,settings,files,logout'; //SEF links of the hardcoded categories
$l['month_names'] = 'Januari, Februari, Maart, April, Mei, Juni, Juli, Augustus, September, Oktober, November, December';
#search
$l['search_keywords'] = 'Zoek Keywords';
$l['search_button'] = 'Zoek';
$l['search_results'] = 'Zoek resultaten';
$l['charerror'] = 'Er zijn minimaal 4 karakters nodig om te kunnen zoeken.';
$l['noresults'] = 'Er is geen resultaat voor de zoekopdracht ';
$l['resultsfound'] = 'resultaten gevonden voor de zoekopdracht';
#comments
$l['addcomment'] = 'Geef een reactie:';
$l['comments'] = 'Reacties';
$l['comment'] = 'Reactie';
$l['page'] = 'Pagina';
#paginator
$l['first_page'] = 'Eerste';
$l['last_page'] = 'Laatste';
$l['previous_page'] = 'Vorige';
$l['next_page'] = 'Volgende';
$l['name'] = 'Naam';
#comments
$l['comment_sent'] = 'Uw reactie is verzonden';
$l['comment_sent_approve'] = 'Uw reactie verschijnt na goedkeuring van de beheerder.';
$l['comment_error'] = 'Uw reactie is niet verstuurd';
$l['comment_back'] = 'Terug naar uw reactie';
$l['no_comment'] = 'Er is nog geen reactie achtergelaten.';
$l['ce_reasons'] = 'Mogelijke redenen: U heeft een veld niet ingevuld of de reactie is te kort.';
$l['url'] = 'Website URL';
#contact
$l['email'] = 'Email';
$l['message'] = 'Bericht';
$l['contact_sent'] = 'Bedankt, uw bericht is verstuurd.';
$l['contact_not_sent'] = 'Uw bericht is niet verstuurd';
$l['message_error'] = 'Mogelijke redenen: U heeft geen naam of bericht ingevuld, of uw email adres bestaat niet.';
#generic links
$l['backhome'] = 'Terug naar home';
$l['backarticle'] = 'Terug naar het artikel';
$l['read_more'] = 'Lees verder';
#contents error
$l['article_not_exist'] = 'Het opgevraagde artikel kan helaas niet worden gevonden';
$l['category_not_exist'] = 'De opgevraagde categorie kan helaas niet worden gevonden';

#ADMINISTRATION LANGUAGE VARIABLES
#administration
$l['administration'] = 'Beheersysteem';
$l['manage'] = 'Beheer';
$l['articles'] = 'Artikelen';
$l['extra_contents'] = 'Extra inhoud';
$l['pages'] = 'Pagina\'s';
#basic buttons
$l['view'] = 'Bekijk';
$l['add_new'] = 'Voeg toe';
$l['article_new'] = 'Nieuw Artikel';
$l['side_new'] = 'Nieuwe Extra Inhoud';
$l['page_new'] = 'Nieuwe Pagina';
$l['edit'] = 'Bewerk';
$l['delete'] = 'Verwijder';
$l['save'] = 'Sla op';
$l['submit'] = 'Verzend';
#settings
$l['settings'] = 'Instellingen';
$l['site_settings'] = 'Site';
#login
$l['login_status'] = 'Login status';
$l['login'] = 'Login';
$l['username'] = 'Gebruikersnaam';
$l['password'] = 'Wachtwoord';
$l['logged_in'] = 'U bent ingelogd';
$l['log_out'] = 'U wordt uitgelogd';
$l['logout'] = 'Logout';
#categories
$l['categories'] = 'Categorieën';
$l['category'] = 'Categorie';
$l['appear_category'] = 'Verschijn alleen in Categorie';
$l['appear_page'] = 'Verschijn alleen op Pagina';
$l['add_category'] = 'Nieuwe categorie';
$l['category_order'] = 'Categorie opstelling';
$l['order_category'] = 'Opnieuw  opstellen';
$l['description'] = 'Beschrijving';
$l['publish_category'] = 'Publiceer categorie';
$l['status'] = 'Status:';
$l['published'] = 'Gepubliceerd';
$l['unpublished'] = 'Niet gepubliceerd';
#articles
$l['articles'] = 'Artikelen';
$l['article'] = 'Artikel';
$l['newarticle'] = 'Nieuw Artikel';
$l['article_date'] = 'Artikel datum (voer een latere datum in voor plaatsing in de toekomst)';
$l['preview'] = 'Voorbeeld';
$l['view'] = 'Bekijk';
$l['paginator'] = 'p';
#customize article
$l['customize'] = 'Pas aan';
$l['display_title'] = 'Toon titel';
$l['display_info'] = 'Toon info regel (lees meer/ reacties/ datum)';
$l['server_time'] = 'Tijd op Server';
$l['future_posting'] = 'Future posting';
$l['publish_date'] = 'Publicatiedatum';
$l['day'] = 'Dag';
$l['month'] = 'Maand';
$l['year'] = 'Jaar';
$l['hour'] = 'Uur';
$l['minute'] = 'Minuut';
$l['publish_article'] = 'Publiceer artikel';
$l['operation_completed'] = 'Proces succesvol afgerond';
$l['deleted_success'] = 'Succesvol verwijderd';
#files
$l['files'] = 'Bestanden';
$l['attach_image'] = 'Afbeelding toevoegen';
$l['upload_image'] = 'Upload afbeelding';
$l['upload'] = 'Upload';
$l['no_image'] = 'Geen afbeelding';
$l['image_error'] = 'Afbeelding kan niet worden gekopieerd';
$l['deleted'] = 'Bestand verwijderd';
#comments
$l['comments'] = 'Reacties';
$l['enable_commenting'] = 'Maak reacties mogelijk';
$l['edit_comment'] = 'Bewerk reacties';
$l['freeze_comments'] = 'Bevries reactie';
$l['unfreeze_comments'] = 'Activeer reacties';
$l['enable'] = 'Actief';
$l['approved'] = 'Goedgekeurd';
$l['enabled'] = 'Geactiveerd';
$l['disabled'] = 'Inactief';
#article structure
$l['title'] = 'Titel';
$l['sef_title'] = 'Zoekmachine vriendelijke titel (wordt gebruikt als link naar het artikel)';
$l['sef_title_cat'] = 'Zoekmachine vriendelijke titel (wordt gebruikt als link naar de categorie)';
$l['text'] = 'Tekst';
$l['position'] = 'Positie';
$l['display_page'] = 'Pagina';
$l['center'] = 'Midden';
$l['contents'] = 'Inhoud';
$l['side'] = 'Extra Inhoud';
#errors
$l['error_not_logged_in'] = 'U bent niet ingelogd en bent zodoende niet toegestaan deze handeling te voltooien.';
$l['admin_error'] = 'Fout';
$l['back'] = 'Terug';
$l['err_TitleEmpty'] = 'De titel mag niet leeg zijn.';
$l['err_TitleExists'] = 'De titel bestaat al.';
$l['err_SEFEmpty'] = 'De SEF titel mag niet leeg zijn.';
$l['err_SEFExists'] = 'De SEF titel bestaat al';
$l['err_SEFIllegal'] = 'De SEF titel bevat illegale karakters.
U kunt alleen gebruik maken van a-z 0-9_-
Een nieuwe SEF titel is afgeleid van de titel. Verifieer het.';
$l['errNote'] = 'Waarschuwing: Gezien het feit dat alle plaatsingsopties verloren gaan als er iets mis loopt, verifieer de opties voor u opnieuw opslaat.';
$l['warning_delete'] = 'Weet u zeker dat dit verwijderd moet worden?';
$l['image_url'] = 'Vul URL van Afbeelding in';
$l['image_alt'] = 'Vul Alt van Afbeelding in';
$l['file_url'] = 'Vul URL van Bestand in';
#settings form
$l['a_true'] = 'Correct';
$l['a_false'] = 'Incorrect';
$l['none'] = "Geen";
$l['change_up'] = 'Verander Gebruikersnaam en Wachtwoord';
$l['newer_top'] = 'Nieuwste bovenaan';
$l['newer_bottom'] = 'Nieuwste onderaan';
$l['pass_mismatch'] = 'Wachtwoorden komen niet overeen';
$l['a_username'] = 'Gebruikersnaam';
$l['a_password'] = 'Wachtwoord';
$l['a_password2'] = 'Herhaal wachtwoord';
$l['a_prefix'] = 'Database prefix';
$l['a_home'] = 'Titel hoofdpagina';
$l['a_display_page'] = "Gebruik Pagina als Hoofdpagina";
$l['a_display_new_on_home'] = 'Toon nieuwe Artikelen op hoofdpagina';
$l['a_display_pagination'] = 'Toon pagina nummers op artikelen';
$l['a_website_title'] = 'Titel internetpagina';
$l['a_home_sef'] = 'Home SEF (wordt gebruikt als link naar Home)';
$l['a_website_email'] = 'Email';
$l['a_description'] = 'Standaard beschrijving META Tag (voor zoekmachines)';
$l['a_keywords'] = 'Standaard keywords META Tag (keywords gescheiden door komma)';
$l['a_contact_info'] = 'Contact informatie';
$l['a_contact_subject'] = 'Onderwerp contactformulier';
#file inclusion
$l['a_word_filter_file'] = 'Bestand Vloekfilter';
$l['a_word_filter_change'] = 'Vervangend woord van Vloekfilter';
$l['a_word_filter_enable'] = 'Activeer Vloekfilter';
$l['file_include_extensions'] = 'php,txt,inc';
$l['error_file_name'] = '
Fout: Verboden bestandsnaam
';
$l['error_file_exists'] = '
Fout: Bestand niet gevonden
';
$l['a_num_categories'] = 'Toon aantal artikelen naast de categorie';
$l['charset'] = 'Standaard karakterset';
$l['a_time_settings'] = 'Tijdsinstellingen';
$l['a_date_format'] = 'Opmaak datum';
$l['a_comments_order'] = 'Reactie volgorde';
$l['a_comment_limit'] = 'Resultaten reactie per pagina';
$l['a_rss_limit'] = 'Limiet RSS Artikelen';
$l['a_approve_comments'] = 'Keur reacties goed voor publicatie';
$l['a_approve'] = 'Toegestaan';
$l['a_article_limit'] = 'Articles per page limit';
$l['a_language'] = 'sNews Taal';
$l['description_meta'] = 'Beschrijving META Tag (voor zoekmachines)';
$l['keywords_meta'] = 'Keywords META Tag (keywords gescheiden door komma)';
$l['all'] = 'Alle';

?>
Logged

brauck

  • Hero Member
  • *****
  • Karma: 18
  • Posts: 556
    • http://www.hbw-webdesign.nl/
[LANG] Dutch translation - sNews v.1.5RC
« Reply #1 on: September 21, 2006, 08:28:26 PM »

nice work Paul, we owe you one :)
Logged
Confidence is reduced complexity.
brauck.nl for free css templates

Jochum Meester

  • Sr. Member
  • ****
  • Karma: 1
  • Posts: 309
    • JochumMeester.com
[LANG] Dutch translation - sNews v.1.5RC
« Reply #2 on: October 08, 2006, 08:40:19 PM »

Lol, because I had only been looking in the specific sNews 1.5RC forum I didn't find a Dutch translation and had started making my own. I'm glad I've found this now, because it saves me a lot of work.

Good job!
Logged

Harold

  • Full Member
  • ***
  • Karma: 0
  • Posts: 110
    • http://blog.haroldbeukers.nl/
[LANG] Dutch translation - sNews v.1.5RC
« Reply #3 on: December 09, 2006, 01:55:23 PM »

Quote from: nointernet
Simply copy the code and name it snews_NL.php , and edit language settings to 'NL' in admin. Done.
I used this translation to make it good for version "1.5.30 Stable"..but I dont understand how to change this code:
Code: [Select]
// LANGUAGE VARIABLES
function l($variable) {
if (s('language') != 'EN' && file_exists('snews_'.s('language').'.php')) {include('snews_'.s('language').'.php');} else {
$l = array();
Logged
E=Fb

Fred K

  • Still trying to learn stuff
  • ULTIMATE member
  • ******
  • Karma: 130
  • Posts: 2728
    • Personal
[LANG] Dutch translation - sNews v.1.5RC
« Reply #4 on: December 09, 2006, 03:29:13 PM »

Quote from: harold
I dont understand how to change this code
Don't. :lol:
It's the processing directive that says: default language is EN (English). If there is a file called 'snews_XX.php' in my folder I*ll use that for the language variables when XX is set as language in the Admin interface.

Log in, click settings, click time and locale, change language to NL, save. Your site will now speak Dutch (and English in a few hardcoded places...).
Logged

Harold

  • Full Member
  • ***
  • Karma: 0
  • Posts: 110
    • http://blog.haroldbeukers.nl/
[LANG] Dutch translation - sNews v.1.5RC
« Reply #5 on: December 09, 2006, 04:06:43 PM »

it's still not working for me...maybe i'm missing a point, or something :(

in the map where all the files - of snews - are, i got now snews.php and snews_nl.php (and of course the other files).
but its still in english (I did also: Log in, click settings, click time and locale, change language to NL, save)

second: renamed snews_nl.php in snews_NL.php..didnt work (im getting a white empty window!)
so..i renamed it again to small letters: snews_nl.php (it gotreally dutch translation in it!)...but the site will show in english.

 i dont have to change the index.php?
Code: [Select]
<?php session_start(); include('snews.php'); ?>
« Last Edit: September 12, 2007, 11:43:41 PM by Harold »
Logged
E=Fb

Fred K

  • Still trying to learn stuff
  • ULTIMATE member
  • ******
  • Karma: 130
  • Posts: 2728
    • Personal
[LANG] Dutch translation - sNews v.1.5RC
« Reply #6 on: December 09, 2006, 05:41:07 PM »

OK. Once you have saved the language variables to a text document and saved it, as snews_NL.php, in the same folder as your normal snews.php, do this (you might want to remove the snews_nl.php file first, could be it's causing conflicts with snews_NL.php):

1) In your web browser, navigate to your site.

2)Log in to the administration area.

3) Click on the header "Settings", to view the settings options.

4) Click on "Site settings" to view those options"

5) Click on "Time and Locale" to show those setting options. It will look something like this:



6) Change the EN language value to NL, so that it looks something like this (except yours will be in Dutch of course):




7) Click "Save". (Coffee break.)
Logged

Harold

  • Full Member
  • ***
  • Karma: 0
  • Posts: 110
    • http://blog.haroldbeukers.nl/
[LANG] Dutch translation - sNews v.1.5RC
« Reply #7 on: December 09, 2006, 07:00:07 PM »

i did exactly as you said: again white empty window...
i was thinking maybe there is something wrong with snews_NL.php so i put the translation a the english firsion..and saved it as snews_NL.php...same empty window...

than, i took a original backup "snews1.5.30" and saved it as snews.php..and trew the dutch snews away....empty window (hellup!)

after that...i changed in snews.php (original) in // LANGUAGE VARIABLES EN in NL
(because the settings where changed in NL)
and thank god :) there was my site back  :)

so, still dont understand what happenend..but for the savety..i'll rename snews_NL.php in snews.php (and give snews.php another name: snews_notnow.php :) )
Logged
E=Fb

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
[LANG] Dutch translation - sNews v.1.5RC
« Reply #8 on: December 09, 2006, 07:03:40 PM »

A question without thinking... How much is in that snews_nl.php of yours ?? JUST language variables, right ? Or is the whole snews engine in there aswell ? I think that was Freddie said here:
Quote from:  Agent "Freddieboy" Smith
OK. Once you have saved the language variables to a text document and saved it, as snews_NL.php,
is somewhat of the key, possibly
Logged
"It's only dead fish that goes with the flow... "
Updated

Harold

  • Full Member
  • ***
  • Karma: 0
  • Posts: 110
    • http://blog.haroldbeukers.nl/
[LANG] Dutch translation - sNews v.1.5RC
« Reply #9 on: December 09, 2006, 09:01:40 PM »

Quote from: myself
maybe i'm missing a point, or something
i was missing a point.. i didnt read it good enough  :cool:
my snews_NL.php was the same as snews.php with the dutch translations changings.

Thank you Agentsmith and Patric; problem solved  :)
Logged
E=Fb