where to translate activity and resource names? (modulename or pluginname)

where to translate activity and resource names? (modulename or pluginname)

Demiralp Hakan írta időpontban
Válaszok szám: 6

I want to translate the Activity and resource names listed on the "Add an activity or resource" page (Choice, Workshop, Survey, etc).

For example "Choice". In translator it is found under both:

  • 3.5 | modulename | mod_choice
and

  • 3.5 | pluginname | mod_choice
Which one I need to translate?

Also I could not find where to translate "Interactive Content" (H5P) in that list.
Any idea?
Válasz erre: Demiralp Hakan

Re: where to translate activity and resource names? (modulename or pluginname)

Valero German írta időpontban
Kép

Have you seen the documentation page for finding the component and string  identifier ?


'Interactive Content' appears in two strings for the component hvp:

modulenameplural | hvp

modulename | hvp



Válasz erre: Valero German

Re: where to translate activity and resource names? (modulename or pluginname)

Demiralp Hakan írta időpontban

Thanks for the link. I have read many pages, but not that link. Reading now.

Válasz erre: Demiralp Hakan

Re: where to translate activity and resource names? (modulename or pluginname)

Valero German írta időpontban
Kép

@Hakan, RE: "I have read many pages, but not that link"

What pages did you read that you thought should have the answer that you were seeking, but did not?

Maybe we should add a reference to https://docs.moodle.org/35/en/Language_customisation#Finding_the_component_and_string_identifier there mosoly

Válasz erre: Valero German

Re: where to translate activity and resource names? (modulename or pluginname)

Demiralp Hakan írta időpontban

Actually I had first read the Amos manual, that was helpful with basic info. Then I looked at the moodle doc, but could find anything useful, I tried search feature there that lead me to the Translation page in the Dev docs that was not much helpful. Finally your suggestion for the Language customisation link which further helped.

Btw, guys, thanks for friendly and helpful manner. This forum is great.

Válasz erre: Demiralp Hakan

Re: where to translate activity and resource names? (modulename or pluginname)

Mudrák David írta időpontban
Kép

I would suggest to change it in both for consistency. IIRC, the "pluginname" is the one that should be used in all recent code (it is present in all plugin types). The "modulename" is a legacy one but may be still used in some places.

Válasz erre: Mudrák David

Re: where to translate activity and resource names? (modulename or pluginname)

Demiralp Hakan írta időpontban

Thanks for the info. I am changing them both.

I also encountered "modulenameplural" and I am changing there, too. It may be a legacy one too, since it is related to "modulename".

Also should I expect "something like "pluginnameplural"?