String Identifier can not be found

String Identifier can not be found

ZafarPayman -
回帖数:11

Hi all,

As seen in the below image, I am going to translate the sentence "should be completed" in the upcoming events block. But I can not find its string identifier. Please help.



附件 Untitled.jpg
回复ZafarPayman

Re: String Identifier can not be found

roggemanskoen -
Language pack maintainers的头像
回复roggemanskoen

Re: String Identifier can not be found

ZafarPayman -

Hi Koen,

Thank you very much.

I exactly did the same. You can see other string identifiers in the above picture.

I also changed "core_completion / completionexpectedfor" , and purged all caches, but it made no difference.

回复ZafarPayman

Re: String Identifier can not be found

roggemanskoen -
Language pack maintainers的头像

Where did you change them?

  • If you changed them in https://lang.moodle.org, the language pack maintainer has to approve them and then by the next cycle of language updates of your site (runs daily at a time you can find in your scheduled tasks) the strings are changed on your site.
  • If you changed them on your local site (which is not very helpful for others since it is in this case a missing translation and not a personal tweak), you should see it after clearing the language cache.


回复roggemanskoen

Re: String Identifier can not be found

ZafarPayman -

I changed it in my local site. Simultaneously, I sent it along with other translations to the fa language pack maintainers to apply in the next versions.

Would you please tell me why the string identifier for this statement is not shown on the above picture? Is it a Moodle bug?

As I see, it uses en language pack for these items.

回复ZafarPayman

Re: String Identifier can not be found

roggemanskoen -
Language pack maintainers的头像

Weird - I don't know.

There is definitely something weird going on, because it is translated in Persian a long time ago.

Are you sure your language pack is up to date? Do you use an old Moodle version (pre august 2017), language update disabled?



回复roggemanskoen

Re: String Identifier can not be found

ZafarPayman -

I am using Moodle 3.5 with the latest language pack.

Yes this statement is translated. I checked it, but I do not find why it is not applied in this window.

回复ZafarPayman

Re: String Identifier can not be found

ZafarPayman -

Please note that this statement is shown when in the Activity Completion -> Expect completed on ... is enabled. The same English statement is shown both in En & Fa site languages. 


It is a Moodle bug. I checked it on another site. In the upcoming events block, the string identifier for "Should be Completed" is not shown.

回复ZafarPayman

Re: String Identifier can not be found

roggemanskoen -
Language pack maintainers的头像

hm, it works in Dutch on my site