Missing Translation Items
Missing Translation Items
Hi,
when a student logs in tp Forma LMS 3.0.1, german language, there are a few items that I can not find in the translation area.
For example "Cerca/Azzera" and the heading "MENU COURSE".
I attach two screenshots showing exactly what I mean.
How can I translate such items?
I attach 2 screenshots showing what I mean...
Thank you,
Florian
when a student logs in tp Forma LMS 3.0.1, german language, there are a few items that I can not find in the translation area.
For example "Cerca/Azzera" and the heading "MENU COURSE".
I attach two screenshots showing exactly what I mean.
How can I translate such items?
I attach 2 screenshots showing what I mean...
Thank you,
Florian
Re: Missing Translation Items
For "menu course", there's a bug in /appLms/views/lo/show.html.twig:
There's no menu_course key, no _STORAGE module.
I'll suggest to change it to:
then add the key with language manager guy.
Or, if you are ok with the existing translation, you can try:
For "Cerca / Azzera", you'll find them hardcoded in /widget/coursefilter/views/coursefilter.php
Code: Select all
<h1>{{ Lang_translate('menu_course', '_STORAGE') }}</h1>
I'll suggest to change it to:
Code: Select all
<h1>{{ Lang_translate('_MENU_COURSE', 'storage') }}</h1>
Or, if you are ok with the existing translation, you can try:
Code: Select all
<h1>{{ Lang_translate('_MENUCOURSE', 'menu_over') }}</h1>
Per supporto GRATUITO contattatemi in privato qui
Re: Missing Translation Items
Hello,
thank you very much for your reply.
I was able to translate cerca/azzera via hardcoding.
Regarding the course menu header, I changed the line to
And added the key (see attachment).
Then I did "empty Twig Cache", not sure if this was neccessary...
Also cleared my browser cache.
But the page still shows "MENU COURSE"..
thank you very much for your reply.
I was able to translate cerca/azzera via hardcoding.
Regarding the course menu header, I changed the line to
Code: Select all
<h1>{{ Lang_translate('_MENU_COURSE', 'storage') }}</h1>
Then I did "empty Twig Cache", not sure if this was neccessary...
Also cleared my browser cache.
But the page still shows "MENU COURSE"..
Re: Missing Translation Items
I think you're missing something.
I've just tried and got it working.
I've just tried and got it working.
Per supporto GRATUITO contattatemi in privato qui
Re: Missing Translation Items
I attach some screenshots.. I think I did exactly what you wrote.
Do I need to clear any additional cache or so...?
Do I need to clear any additional cache or so...?
Re: Missing Translation Items
I should be on your instance to investigate further.
I can't say what you're missing, but I'm sure there's something you're missing.
I can't say what you're missing, but I'm sure there's something you're missing.
Per supporto GRATUITO contattatemi in privato qui
Re: Missing Translation Items
I edit the file
/appLms/views/lo/show.html.twig
There is no change in the frontend even if I edit it like this:
Am I in the correct file?
/appLms/views/lo/show.html.twig
There is no change in the frontend even if I edit it like this:
Code: Select all
<div class="page-header">
<h1>test</h1>
</div>
Re: Missing Translation Items
Okay - I just found that version 3.2 is out. Upgraded, and now it works.
Thank you
Thank you
Re: Missing Translation Items
Hi again, how can the text "dashboard blockcertificates no records" within the Certificates Dashboard Module be edited? Thank you!
Re: Missing Translation Items
Create _DASHBOARD_BLOCKCERTIFICATES_NO_RECORDS language key in dashboard module.
Per supporto GRATUITO contattatemi in privato qui