Hi Linda,
The steps Jane lists are what we did to get French added as an option
to the drop downs in the admin interfaces to add translations. It
also adds the language to the locale switcher in the upper right corner.
For me, I have the staff client set to English (US) and I have English
(US), English (Canada), and French (Canada) available in both the
local switcher in the upper right and in the drop downs for the "Apply
Translations" pop up in the admin pages. (I can't speak to what
displays in the drop down if I set my locale in the upper right to
something other than English (US) as we don't currently have things
set up to use different languages for the web client, just the OPAC.)
Hope this helps,
Jennifer
Quoting Linda Jansová <[email protected]>:
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á
<[email protected] <mailto:[email protected]>> 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
[email protected]
<mailto:[email protected]>
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
[email protected] <mailto:[email protected]> / 541-917-4655
Pronouns: she/her/hers
Library instagram: @lbcc_library <https://www.instagram.com/lbcc_library/>
_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general
--
Jennifer Pringle (she/her)
Co-op Support - Training Lead
BC Libraries Cooperative
Toll-free: 1-888-848-9250
Email:[email protected]
Website: http://bc.libraries.coop
Gratefully acknowledging that I live and work in the unceded
Traditional Territory of the St'at'yemc Nations.
_______________________________________________
Evergreen-general mailing list
[email protected]
http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-general