Jump to content

  • twitter
  • youtube
  • googleplus
  • facebook
  • rss
  • newsletter


Make Language String in help-files?


  • Please log in to reply
11 replies to this topic

#1 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 18 May 2009 - 07:26 AM

Hello,
I have a forum with two languages. English and Dutch. Is there a way to make a language-file with lines in it for the help-files?

DragonFly

#2 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 20 May 2009 - 12:28 PM

Somebody?

#3 MPFF

MPFF

    Elite Member

  • Members
  • PipPipPipPip
  • 127 posts
  • Gender:Male
  • Location:United Kingdom
  • IP.Board Version:IPB 2.3.x
  • First Name:Dava

Posted 20 May 2009 - 03:13 PM

well if you have it in 2 languages why not just edit the dutch lang file and convert it from english to dutch

#4 MPFF

MPFF

    Elite Member

  • Members
  • PipPipPipPip
  • 127 posts
  • Gender:Male
  • Location:United Kingdom
  • IP.Board Version:IPB 2.3.x
  • First Name:Dava

Posted 20 May 2009 - 03:26 PM

There Ya Go From English To Dutch

cache/lang_cache/xx/lang_help.php

<?php

$lang = array(

'topic_text'			  => "Hier is het onderwerp u verkoos te bekijken",
'results_title'		  => "Uw Resultaten van het Onderzoek van de Hulp",
'choose_file'			  => "Kies een Onderwerp",
'help_txt'			  => "Kies een onderwerp van de lijst, of onderzoek naar een onderwerp",
'submit'				  => "Zoek!",
'search_txt'			  => "Ga sleutelwoorden aan onderzoek naar in",
'search_results'		  => "De Resultaten van het onderzoek",
'results_txt'			  => "Hier zijn de resultaten van het onderzoek u uitvoerde.",
'help_topics'			  => "De Onderwerpen van de hulp",
'no_results'			  => "Droevig, konden wij geen hulponderwerpen vinden die uw onderzoekscriteria aanpasten, gelieve opnieuw te proberen",
'help_topic'			  => "Het Onderwerp van de hulp",
'page_title'			  => "De Onderwerpen van de Hulp van het onderzoek",

);
?>


#5 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 21 May 2009 - 11:00 PM

No that's not what I ment... I ment the help-file it self. Where the information is. Like how to register and it's benefits etc.

#6 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 23 May 2009 - 11:45 PM

Somebody :unsure: :huh: ?

#7 Michael

Michael

    Management

  • Management
  • 3,135 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 24 May 2009 - 12:28 AM

I think the easiest way would be to add the second language help file in a custom page, Sacred customer page mod allows you to decide what the autocom=pagename is.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#8 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 24 May 2009 - 12:39 AM

And the hard way? I use the mod of Sacred.... But then I need to make a Help-Page again. How to make an own lang-string? I want to learn it and maybe use it for this when possible :lol:

#9 Michael

Michael

    Management

  • Management
  • 3,135 posts
  • Gender:Male
  • Location:Australia
  • IP.Board Version:IPB 3.1.x
  • First Name:Michael
Donator

Posted 24 May 2009 - 01:27 AM

View PostDragonFly, on May 24 2009, 04:39 PM, said:

And the hard way? I use the mod of Sacred.... But then I need to make a Help-Page again. How to make an own lang-string? I want to learn it and maybe use it for this when possible :lol:

Hard way would require some file edits to the help.php to either include some type of bbcode into the help title and description so you could just place [lang]text_bit[/lang] where ever you want language bits, or somehow create a second set of help files stored in the database.

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#10 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 29 May 2009 - 07:59 AM

But then the question is.... How to make a code like that? I don't know how to import a lang_file to a page :(

#11 DragonFly

DragonFly

    Elite Member

  • Members
  • PipPipPipPip
  • 117 posts
  • Gender:Male
  • Location:Europe >> Netherlands >> Nijmegen
  • Interests:My interests are going to my love (not my girlfriend) and to PCGround.nl (my site). I'm an Admin of Dutch Computer-Forums.

    Maybe the forums will be in English later :)
  • IP.Board Version:IPB 3.0.x
  • First Name:Nicky Hendriks

Posted 06 June 2009 - 03:34 AM

Uhm...? :lol:

#12 chillyware

chillyware

    Member

  • Customers
  • 22 posts
  • IP.Board Version:IPB 2.3.x
  • First Name:Dave

Posted 28 May 2010 - 12:59 AM

View PostDragonFly, on 06 June 2009 - 03:34 AM, said:

Uhm...? <img src='http://www.devfuse.com/forums/public/style_emoticons/<#EMO_DIR#>/laugh.gif' class='bbc_emoticon' alt=':lol:' />


Dit you need help.

I Dutch.

Of kan ik je helpen ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users