Jump to content

Help Files


Nuclear General

Recommended Posts

  • 2 weeks later...

This looks like the hook I have been waiting for. But please assist me. In the info file you say

Edit Any Help File To Begin Assigning Language Keys For Use In your language Pack.


Assigning Language Keys is what I not understand.
Should I for a German Language file start the first field above the title Help File Title with "deutsch" ??
or should I first change to a certain language file (French) and then edit the (french help files ?

ras
Link to comment
Share on other sites


This looks like the hook I have been waiting for. But please assist me. In the info file you say



Assigning Language Keys is what I not understand.


Should I for a German Language file start the first field above the title Help File Title with "deutsch" ??


or should I first change to a certain language file (French) and then edit the (french help files ?



ras



No.... an example, these are language string keys in your language pack you add corresponding to the key, so Editing that help file, if I put the language key boobaloo(example, shoot me), I would add to the core/public_help language pack boobaloo_title, boobaloo_desc and boobaloo and it would use them rather than the hard-coded help file text itself.
Link to comment
Share on other sites

  • 4 weeks later...

Can you explain, how it works? Nothing useful in readme and no changes are visible. Step by step instructions will be much appreciated.




No.... an example, these are language string keys in your language pack you add corresponding to the key, so Editing that help file, if I put the language key boobaloo(example, shoot me), I would add to the core/public_help language pack boobaloo_title, boobaloo_desc and boobaloo and it would use them rather than the hard-coded help file text itself.



Select a help file, provide a key, add three strings using the same macro replacements the help files use in the text.... that does not work for you? :unsure: I've had no issues moving over the existing help files to language strings, or altering them from there after adding.
Link to comment
Share on other sites


Select a help file, provide a key, add three strings using the same macro replacements the help files use in the text.... that does not work for you? :unsure: I've had no issues moving over the existing help files to language strings.



I have absolutely no idea, what are talking about. I've read you advice above - it explains nothing. Please, provide step-by-step instructions, for you hook is pretty confusing without them even for those, who use IPB for a long time.
Link to comment
Share on other sites


I have absolutely no idea, what are talking about. I've read you advice above - it explains nothing. Please, provide step-by-step instructions, for you hook is pretty confusing without them even for those, who use IPB for a long time.



ACP->System->Tools & Settings->Help Files:
post-201612-0-14857000-1342617714_thumb.
Edit one:
post-201612-0-65750700-1342617778_thumb.
That description, as a note, is translatable itself, if it is unclear I suppose i can explain it further:
.post-201612-0-53183400-1342617851_thumb.
Probably not the best ss as it appears to have a badly copied url, but that is copied from the stock help file(the urls, obv i changed small bits of text for testing purposes)(going to file a bug on that, that doesn't seem right) not any issue with the mod. :tongue:
Link to comment
Share on other sites

Go to Manage Languages of system select your language and "add string" for example
Application : System
Pack Name : Unique name (like Ir help)
Key: how_to_register_ir
Default Text : your content in your language

now use that key in Help Files

Link to comment
Share on other sites


Go to Manage Languages of system select your language and "add string" for example


Application : System


[s]Pack Name : Unique name (like Ir help)[/s]


Key: how_to_register_ir


Default Text : your content in your language



now use that key in Help Files



...not quite.
Go to Manage Languages of system select your language and "add string" for example
Application : System
Pack Name : public_help
Key: how_to_register
Default Text : your how to register help file content in your language.
Key: how_to_register_title
Default Text : your how to register help file title in your language.
Key: how_to_register_desc
Default Text : your how to register help file description in your language.
now use that key in Help Files : with above example would be: how_to_register
Link to comment
Share on other sites

Everything OK now. I managed to do a test run and it works. Too bad IPS didn't make it by default. I wrote them about it several years ago, but nothing changed since then. Looks like US Globe syndrome to me.

Anyway, thank you for your useful hook. But you really MUST add a good instructions to readme.

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...