Archived

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

DragonFly

Make Language String in help-files?

12 posts in this topic

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

Share this post


Link to post
Share on other sites

Somebody?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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",

);
?>

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Somebody :unsure: :huh: ?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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:

Share this post


Link to post
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:

 

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.

Share this post


Link to post
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 :(

Share this post


Link to post
Share on other sites

Uhm...? :lol:

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites