Skip to content

Sardinian added to language_list.html#8860

Merged
cdrini merged 1 commit into
internetarchive:masterfrom
DarrellRoberts:8857/feature/add-sardinian-to-list-languages
Mar 5, 2024
Merged

Sardinian added to language_list.html#8860
cdrini merged 1 commit into
internetarchive:masterfrom
DarrellRoberts:8857/feature/add-sardinian-to-list-languages

Conversation

@DarrellRoberts

@DarrellRoberts DarrellRoberts commented Mar 2, 2024

Copy link
Copy Markdown
Contributor

Closes #8857 Add Sardinian to list of languages

It adds Sardinian (sc) to the drop down menu of languages

Technical

On my local deployed version, I can't see if the other languages worked (e.g. when I press German, it refreshes but still shows English). I'm not sure if this is normal or a bug on my side but it means I couldn't test if when clicking on Sardinian, whether the language changed or not.

Also I noticed Hindi isn't sorted alphabetically, but not sure if there's a reason for this, so kept the order as is.

Testing

The change was made to file: openlibrary/templates/languages/language_list.html

In this file I added an extra list item and a tag for Sardinian, with the same attributes as the other list elements.

Screenshot

image

Stakeholders

@cdrini

@cdrini cdrini left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh not sure why that's not working locally... I tested it on testing.openlibrary.org and it worked like a charm!

@cdrini
cdrini merged commit 21b78ad into internetarchive:master Mar 5, 2024
@DarrellRoberts

Copy link
Copy Markdown
Contributor Author

Oh not sure why that's not working locally... I tested it on testing.openlibrary.org and it worked like a charm!

ah right, glad to hear! Most likely my setup to be honest, I'll look into it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Sardinian to list of languages

3 participants