Jump to content
DevFuse Forums

Make Language String in help-files?


DragonFly

Recommended Posts

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

Link to comment
Share on other sites

Somebody?

Link to comment
Share on other sites

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",

);
?>

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Somebody :unsure: :huh: ?

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

  • Management
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.

Link to comment
Share on other sites

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 :(

Link to comment
Share on other sites

Uhm...? :lol:

Link to comment
Share on other sites

  • 11 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...