Using AMOS tool for language pack translation

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

 
Picture of Bente Olsen
The use of * to make ul's in lang strings
by Bente Olsen - Wednesday, 6 July 2016, 12:56 AM
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.

Picture of David Mudrák
Re: The use of * to make ul's in lang strings
by David Mudrák - Wednesday, 6 July 2016, 2:55 PM
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.

Picture of Bente Olsen
Ang: Re: The use of * to make ul's in lang strings
by Bente Olsen - Wednesday, 6 July 2016, 6:27 PM
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?

Picture of David Mudrák
Re: Ang: Re: The use of * to make ul's in lang strings
by David Mudrák - Thursday, 7 July 2016, 6:16 PM
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.

Picture of Bente Olsen
Ang: Re: Ang: Re: The use of * to make ul's in lang strings
by Bente Olsen - Thursday, 7 July 2016, 8:54 PM
Language pack maintainers

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