Translations of strings named *_link in plugins

Translations of strings named *_link in plugins

дэргэд German Valero -
Хариу нийтлэлийн тоо: 5
Language pack maintainers зураг

I recently found a lot of new strings in third party plugins that have a '*_link' name, which seem to be links to Moodle English language documentation, such as:

alignment_link | questionnaire : 'mod/questionnaire/questions#Radio_Buttons'

checkboxes_link | questionnaire : 'mod/questionnaire/questions#Check_Boxes'

And I wonder whether I should keep them in English, so that they link to the original English language Docs.

Does anybody know what we should do with these links ?

Thanks in advance.

German Valero-н хариуд

Re: Translations of strings named *_link in plugins

дэргэд koen roggemans -
Language pack maintainers зураг
If the translated page exists and is kept up-to-date, I don't see why you couldn't point to the translated docs. Otherwise English is the safe option.
koen roggemans-н хариуд

Re: Translations of strings named *_link in plugins

дэргэд German Valero -
Language pack maintainers зураг
I added some text in https://docs.moodle.org/402/en/Translation_FAQ#Strings_named_.2A_link . Please feel free to add/remove/change as needed.

There are 445 strings named *_link!

But very few are real strings that must be translated. eg:

login_behaviour_link_selector | auth_unilogin 'Link insertion selector'

These few are worth translating, but I think I should better leave the others in English !
German Valero-н хариуд

Re: Translations of strings named *_link in plugins

дэргэд David Mudrák -
Language pack maintainers зураг

On contrary, I would suggest to leave them all in English. If a translation exists, the redirect to the translated version can be handled at the docs wiki site itself. Note that the actual docs URL will be composed depending on the current user's language and other settings. That's why these strings were actually hidden for a long time from the AMOS interface completely.

However, one bit where this will not work well, is the anchor part of the URL in the *_link string.

David Mudrák-н хариуд

Re: Translations of strings named *_link in plugins

дэргэд koen roggemans -
Language pack maintainers зураг
the actual docs URL will be composed depending on the current user's language - Thanks for that explanation - I didn't know
koen roggemans-н хариуд

Re: Translations of strings named *_link in plugins

дэргэд David Mudrák -
Language pack maintainers зураг

Yeah. For example, when I switch my UI language to Czech, the "Help and documentation" link for this particular page reads http://docs.moodle.org/402/cs/mod/forum/discuss - so it aims to find the 4.2 Czech wiki. And there are various redirect rules at the docs.moodle.org site that control where the user actually ends.