pressbooks / pressbooks-aldine

Aldine is the default root theme for Pressbooks.
https://pressbooks.org/
GNU General Public License v3.0
11 stars 7 forks source link

Network language option is available only in English #231

Closed pb-amy closed 3 years ago

pb-amy commented 3 years ago

Prerequisites

Description

Issue arose from this client interaction (UQ): https://pressbooks.zendesk.com/agent/tickets/4210

Under Network Admin > Settings > Language, "English (United States)" is the only language available, which makes other languages inaccessible, as well as British/Canadian English with different spellings. In the client issue above, it was referring specifically to the spelling of 'Catalog' which should ideally be 'Catalogue'.

Here's the code in the theme which affects the catalog on Aldine: https://github.com/pressbooks/pressbooks-aldine/blob/2ba9f42520a6aea530e131ffef3c9ea6fabb6e2f/partials/content-front-page.php#L76

Steps to Reproduce

  1. Check that English (US) is the only language available.

Expected behavior: More options under languages should be available

Actual behavior: Only English (US) is available, and the text throughout Aldine is not changeable as it is hard coded into the theme.

System Information

SteelWagstaff commented 3 years ago

I just went in and produced English (GB) tranlations for Aldine, McLuhan, and Pressbooks core. These should be available upon next release. We'll need to ask Ho Man to deploy them for affected clients.