Moodle documentation: MoodleDocs link

Moodle documentation: MoodleDocs link

by Greg Milsted -
Number of replies: 4
Hi,

We have our own language pack and it's replacing /en/ in the url string
and breaking all the moodledocs pages.

What can we do?

Regards,

greg
Average of ratings: -
In reply to Greg Milsted

Re: Moodle documentation: MoodleDocs link

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Greg,

Assuming you've created a local language pack, please see MDLSITE-25 for a possible solution. Please provide feedback on how you get on.
In reply to Helen Foster

Re: Moodle documentation: MoodleDocs link

by Greg Milsted -

This works an absolute treat,

For example if you are using en_utf8 but have installed your own language pack previously which is now breaking moodledocs:

  1. Create a folder in the lang folder called en_utf8_local
  2. Copy all your language files from your language pack into it
  3. Make sure you've updated:
  4. Language->Language Settings - drop down, select en and save
  5. Language->Language Editing - Current Language - en
  6. Go into the database and update the settings:
  7. update `course` set lang ='en_utf8'

All your moodle links will work now! 

In reply to Greg Milsted

Re: Moodle documentation: MoodleDocs link

by Sean Tierney -
Greetings,

Would this fix or impact the a$->username type tags in customized emails etc? Is that what you are referring to as "links" or is this truly html links, etc? thank you in advanced.
Sean