https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12017

David Cook <dc...@prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dc...@prosentient.com.au

--- Comment #100 from David Cook <dc...@prosentient.com.au> ---
Thanks for working on this, Bernardo. I think I ignored the language* tables
for years until I needed to work on them this past Friday...

I'm not sure I follow all the changes across all the patches though.

Overall, I was thinking that we could keep a database table in Koha with
language codes and the native name for the language. Examples: en, eng,
English; zh, chi, 中文. 

Then we could have a template that defines a hash map which can be used to
provide translated versions. 

For example:
[% BLOCK en %]Anglais[% END %]
[% BLOCK fr %]Français[% END %]
[% langs.en = INCLUDE en %]
[% langs.fr = INCLUDE fr %]

We could then iterate through the database list and show translated names where
possible based on the hash map lookup using the code.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to