Nuclear General Posted June 11, 2012 Share Posted June 11, 2012 File Name: Help Files File Submitter: Nuclear General File Submitted: 09 Jun 2012 File Category: Content Management This Simple Hook Will enable Language Abstraction Of your site's Help Files. here to download this file Link to comment Share on other sites More sharing options...
Telemacus2 Posted June 12, 2012 Share Posted June 12, 2012 What exactly is "language abstraction"? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted June 12, 2012 Share Posted June 12, 2012 What exactly is "language abstraction"? How to Register is not the same phrase in every language, nor the explanation of how to do so... this allows help files to be tied to language strings, and those language strings to be utilized on the frontend if present. Link to comment Share on other sites More sharing options...
rasslsk Posted June 23, 2012 Share Posted June 23, 2012 This looks like the hook I have been waiting for. But please assist me. In the info file you sayEdit 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 More sharing options...
Marcher Technologies Posted June 24, 2012 Share Posted June 24, 2012 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 More sharing options...
The Krotek Posted July 18, 2012 Share Posted July 18, 2012 Can you explain, how it works? Nothing useful in readme and no changes are visible. Step by step instructions will be much appreciated. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted July 18, 2012 Share Posted July 18, 2012 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 More sharing options...
The Krotek Posted July 18, 2012 Share Posted July 18, 2012 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 More sharing options...
Marcher Technologies Posted July 18, 2012 Share Posted July 18, 2012 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: Edit one: That description, as a note, is translatable itself, if it is unclear I suppose i can explain it further: . 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 More sharing options...
sijad Posted July 18, 2012 Share Posted July 18, 2012 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 More sharing options...
Marcher Technologies Posted July 18, 2012 Share Posted July 18, 2012 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_helpKey: 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 More sharing options...
The Krotek Posted July 18, 2012 Share Posted July 18, 2012 There's a small problem over there. See? Link to comment Share on other sites More sharing options...
Marcher Technologies Posted July 18, 2012 Share Posted July 18, 2012 There's a small problem over there. See? I do, please re-download and import the hook... it appears to have helpfully refused to export my strings.... resolved. Link to comment Share on other sites More sharing options...
The Krotek Posted July 18, 2012 Share Posted July 18, 2012 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 More sharing options...
sijad Posted July 20, 2012 Share Posted July 20, 2012 ...not quite. is that so lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.