[Koha-bugs] [Bug 13632] Use a translateable file instead of the database for managing permission descriptions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 11 23:57:46 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13632

--- Comment #20 from David Cook <dcook at prosentient.com.au> ---
(In reply to Katrin Fischer from comment #17)
> It's not so much a translation thing - Bernardo already has provided the fix
> for that, but a maintenance/web installer problem.
> 
> The web installer will use the files in the language directory from the
> language you picked at the beginning of the installation process. There is
> no fallback to en if a file is missing.
> 
> So currently, when a new permission is added, we have to maintain not one
> central file, but the en file plus all translated files. Not good. 
> 
> For systempreferences the web installer knows that sysprefs.sql is
> mandatory, even tho it lives outside of the web installer files. I think
> maybe we can handle the permissions file the same way. One file - always
> installed independent of the picked language.

I think I understand what you're saying, but I'm not sure that will be an issue
in this case?

Since the file will live in the regular "en" includes, won't it just be a
regular candidate for translation?

If it gets translated, then users will see translated text. If it doesn't get
translated, users will see English. Isn't that right?

That's where I'm confused :).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list