[Evergreen-general] Adding a language to the translation feature in the web client
Linda Jansová
linda.jansova at gmail.com
Sun Jan 10 01:03:35 EST 2021
Hi Jane,
Thank you! But it seems you mean the locale switcher in the upper right
corner of the web client. I have actually had another translation
dropdown on my mind - the one which enables you to add a new translation
from within the web client. I have attached a screenshot with an example
from Item Status Administration in Server Administration.
I have double checked that Czech does not appear in the dropdown even
when the web client as such is switched to English (in a way, it would
make sense that you might want to translate to another language, not the
one you are currently viewing the web client in; on the other hand, it
is rather likely that you may wish to add a missing translation for the
current language - it would also be clear which strings are missing and
how the context is translated to make sure the translation is a good fit
for a particular place in the web client). So the only translation
option seems to be English, regardless of the interface language...
Linda
On 1/9/21 7:40 PM, Jane Sandberg wrote:
> Hi Linda,
>
> To get another entry in the dropdown, you will want to:
>
> 1) Edit the locales array in
> Open-ILS/src/eg2/src/environments/environment.prod.ts to include 'cs-CZ'
>
> 2) Re-compile the Angular client by running the commands:
> cd Open-ILS/src/eg2
> ng build --prod
>
> 3) As the root user, run the command: make install
>
> -Jane
>
> On Sat, Jan 9, 2021 at 7:09 AM Linda Jansová <linda.jansova at gmail.com
> <mailto:linda.jansova at gmail.com>> wrote:
>
> Hi,
>
> We are on 3.5.1 and are trying to set up the translation feature
> which
> is now available directly in web client.
>
> So far we can only see English as a language to which one can
> translate.
>
> How could we add Czech as another option in the dropdown?
>
> Thank you in advance for any ideas!
>
> Linda
>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> <mailto:Evergreen-general at list.evergreen-ils.org>
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
> <http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general>
>
>
>
> --
> Jane Sandberg
> Electronic Resources Librarian
> Linn-Benton Community College
> sandbej at linnbenton.edu <mailto:sandbej at linnbenton.edu> / 541-917-4655
> Pronouns: she/her/hers
>
> Library instagram: @lbcc_library <https://www.instagram.com/lbcc_library/>
>
> _______________________________________________
> Evergreen-general mailing list
> Evergreen-general at list.evergreen-ils.org
> http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20210110/631b86d1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: translation_dropdown.png
Type: image/png
Size: 59149 bytes
Desc: not available
URL: <http://list.evergreen-ils.org/pipermail/evergreen-general/attachments/20210110/631b86d1/attachment-0001.png>
More information about the Evergreen-general
mailing list