Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let users specify the language of a piece of site content in TinyMCE #4139

Open
joemull opened this issue Apr 29, 2024 · 0 comments
Open

Let users specify the language of a piece of site content in TinyMCE #4139

joemull opened this issue Apr 29, 2024 · 0 comments
Labels
new feature A new thing that doesn't exist yet

Comments

@joemull
Copy link
Member

joemull commented Apr 29, 2024

User story

As a press manager I may need to specify a different language for one piece of content in a larger website. For example, most of my press site may be in English, but a few of my journals publish in French, so I want to set French on the journal description fields. I want this language to be properly marked up in the eventual HTML so that it is accessible to screen readers:

<html lang="en-GB">
  [most of my site]
  <div lang="fr">
    Merci beaucoup  
  </div>
</html>

While this option can technically be configured now by changing the settings.py, it would be nice to put it in TINYMCE_DEFAULT_CONFIG and consider whether and how it should interact with translation and localization in the rest of Janeway.

Proposed solution

Configure TinyMCE so that language appears as a dropdown in the toolbar.

@joemull joemull added the new feature A new thing that doesn't exist yet label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature A new thing that doesn't exist yet
Projects
Status: Triage
Development

No branches or pull requests

2 participants