The use of * to make ul's in lang strings

The use of * to make ul's in lang strings

by Bente Olsen -
Number of replies: 4
Picture of Language pack maintainers

How come * can make unordered lists in the English lang pack but only now and then in the Danish pack - and never in locally translated strings?

Eg. if you try to add an activity or an resource only the string modulename_help for wiki and book will show a bulleted list in Danish. I have just checked the Norwegian pack, which have problems with lists too.

In reply to Bente Olsen

Re: The use of * to make ul's in lang strings

by David Mudrák -
Picture of Language pack maintainers

See https://daringfireball.net/projects/markdown/syntax for the Markdown syntax used for the help strings. Common mistake may be that an empty line is needed before and after the list block.

This does NOT work. No blank like after this paragraph.
* First list item.
* Second list item.
This DOES work. Note the empty line after this paragraph.

* First list item.
* Second list item.

It would be a bug if it did not work in locally customised strings.

In reply to David Mudrák

Ang: Re: The use of * to make ul's in lang strings

by Bente Olsen -
Picture of Language pack maintainers

Thank you clarifying this.

Does it mean that lang strings can use a modified version of the creole format or does this apply to the use of creole in wikis too?

In reply to Bente Olsen

Re: Ang: Re: The use of * to make ul's in lang strings

by David Mudrák -
Picture of Language pack maintainers

I don't know much about Creole format and I do not think this is anyhow related to it.

The Markdown formatting is supported for help strings only (those with _help suffix in their name).

See https://docs.moodle.org/en/Markdown and https://docs.moodle.org/dev/Help_strings for details.

In reply to David Mudrák

Ang: Re: Ang: Re: The use of * to make ul's in lang strings

by Bente Olsen -
Picture of Language pack maintainers

I see. Thank you. I think that I step by step am getting ready to translate Moodle smile