Bug 27789

Summary: Missing translate text replacement in admin-home.tt
Product: Koha Reporter: Lukas Kraic <lukas.kraic>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: RESOLVED MOVED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, jonathan.druart
Version: 20.11   
Hardware: All   
OS: Linux   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Lukas Kraic 2021-02-25 09:16:39 UTC
koha version: 20.11.03.000

missing translate text replacement in admin-home.tt
on administrator home page, is missing translate of all descriptions (exclude Patrons and circulation)

tested on sk_SK and cs_CZ
missing translate of descriptions, are translated in sk-SK-staff-prog.po and cs-CS-staff-prog.po 

what i do (for sk_SK), same in cs_CZ:
1, install language
koha-translate --install sk-SK
2, set slovak language in admin settings
in administrator home page, is missing translate of all descriptions (exclude Patrons and circulation)

maybe wrong generated translate admin-home.tt

(for exmaple) check translate

3,translate exists

/usr/share/koha/misc/translator/po/sk-SK-staff-prog.po
...
#: koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt:145
#, fuzzy, c-format
msgid ""
"Create and manage Bibliographic frameworks that define the characteristics "
"of your MARC Records (field and subfield definitions) as well as templates "
"for the MARC editor"
msgstr ""
"Vytvorte a spracujte bibliografické šablóny, ktoré definujú charakteristiku "
"vašich MARC záznamov (definície polí a podpolí) ako aj šablóny pre MARC "
"editor."

4, missing translate in tmpl file
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/sk-SK/modules/admin/admin-home.tt
....
 [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
 <dt><a href="/cgi-bin/koha/admin/biblio_framework.pl">Bibliografická MARC šablóna</a></dt>
 <dd>Create and manage Bibliographic frameworks that define the characteristics of your MARC Records (field and subfield definitions) as well as templates for the MARC editor</dd>
 <dt><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Priradenie Koha k MARC</a></dt>
 <dd>Define the mapping between the Koha transactional database (SQL) and the MARC Bibliographic records</dd>
Comment 1 Jonathan Druart 2021-03-02 15:44:32 UTC
You should remove the "fuzzy" from the .po file.
Maybe the string needs to be adjusted on pootle? Did you check translate.koha-community.org/projects?
Comment 2 Katrin Fischer 2021-03-04 11:32:48 UTC
Hi Lukas,

Strings are marked as "fuzzy" by the translation process if the files change and they need to be checked, translations adjusted and the flag removed. This is usually done by the translators on translate.koha-community.org. The corresponding setting there is the "Needs work" checkbox.

So this is actually not a bug, but an issue of an unfinished translation. 

I am resolving this as RESOLVED MOVED.

There is a translator's list "koha-translate" that you could reach out on and you can also get involved in translating of course :)
Comment 3 Lukas Kraic 2021-03-04 11:40:39 UTC
Thanks, Jonathan and Katrin
"fuzzy" in the .po file, was this problem

Thanks
Lukas