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

Multilingual support: UI Internationalization #309

Closed
3 tasks done
Tracked by #307 ...
syphax-bouazzouni opened this issue Oct 25, 2022 · 7 comments
Closed
3 tasks done
Tracked by #307 ...

Multilingual support: UI Internationalization #309

syphax-bouazzouni opened this issue Oct 25, 2022 · 7 comments
Assignees

Comments

@syphax-bouazzouni
Copy link
Contributor

syphax-bouazzouni commented Oct 25, 2022

Requirement

Technical

  • Make all the text of the portal multilingual (in the start French and English)
  • Make the portal detect and use automatically the local language (depending on the IP of the request)
  • Save the users settings in his local browser session

Content

  • List all the hard-coded terms in the views, here
  • Translate all the terms in French
  • Put all the translated terms in the fr.yml local file

Documentation

@jonquet

This comment was marked as resolved.

@syphax-bouazzouni syphax-bouazzouni changed the title Support multi-lingual data Support multi-lingual: UI Internationalization Jan 20, 2023
@jonquet

This comment was marked as outdated.

@jonquet jonquet changed the title Support multi-lingual: UI Internationalization Multilingual support: UI Internationalization Apr 7, 2023
@syphax-bouazzouni syphax-bouazzouni removed the project managment issues used as development tasks in our projects label May 6, 2023
@jonquet
Copy link
Contributor

jonquet commented Dec 19, 2023

After release 2.7 with work from @haddadzineddine and @syphax-bouazzouni on the abstraction of the text fields into the 'locales' files, lets make another round chasing the sentence here and there not yet in French.
@SirineMhedhbi Shall find them and put hem in the locales files with basic translation
@jonquet Shall verify/correct/harmonize the translation to French

@syphax-bouazzouni
Copy link
Contributor Author

syphax-bouazzouni commented Jan 11, 2024

Below are all items listed the our 2023/9 New UI - Stageportal/AgroPortal - TEST - Google Sheets that migrated here:

Title Part Type Author / Date
Je ne trouve pas d'information m'expliquant comment fonctionne le "recommandateur". Je pense que pourrait etre utile pour mieux comprendre comment l'utiliser Multilingual Improvement Feedback nina / 09-11-23
Show/Hide advanced options Du Recommender et Annoator en anglais pas traduit. Multilingual Content change nina / 09-11-23 + Clement
Changement de "login" par "connexion" ? Sur la page Login Multilingual Content change nina / 09-11-23
Raw data (sur le modal de details d'unc concept d'un search resiult) n'est pas traduit. Multilingual Aesthetic change Clement / 20-11-23
Toutes les expressions du process de recuperation de mot de passe ne sont pas traduites Multilingual Content change Clement / 23-11-23
Metrics>Page landscape pas traduits Multilingual Content change Clement / 23-11-23
Footer pas traduit Multilingual Content change Clement / 23-11-23
Exact Matches dans page Search pas traduit Multilingual Content change Clement / 23-11-23
Search language et All language dasn la page Search Multilingual Content change Clement / 23-11-23
French et English dans le menu deroulatn de la page Search Multilingual Content change Clement / 23-11-23
(i) sur FAIR scores de la Home page Multilingual Content change Clement / 23-11-23
Message Welcome admin feature page Browse Multilingual Content change Clement / 23-11-23
Tous les filtres et les menus de la page Browse Multilingual Content change Clement / 23-11-23
3 des 4 indications de la fennetre de chargement de mappings en bullk Multilingual Content change Clement / 23-11-23
Tous les champs de la fenetre de seections des ontologies quand on clique sur "Selectionner dans la liste" Multilingual Content change Clement / 23-11-23
Show/Hide advanced options de la page de l'Annotator => apparait la premiere fois puis quand onc lique desuss reste en anglias Multilingual Content change Clement / 23-11-23
Les valeurs none et all des menus deroulant des options de l'Annotator Multilingual Content change Clement / 23-11-23
LEs deux titres "ontologies properties" de la page landscape Multilingual Content change Clement / 23-11-23
Tous les textes des interfaces des composants O'FAIRe => je ne parle pas des questions qui pourrnt etre fait separament Multilingual Content change Clement / 23-11-23
La page admin et ces sous pages Multilingual Content change Clement / 23-11-23
Toute le contenu de la page Summary (nom des blocs et texte explicatifs et texte generés par l'UI) Multilingual Content change Clement / 23-11-23
Les titres des Tab de la la page Summary Multilingual Content change Clement / 23-11-23
Les titres des Tab d'un concept donné Multilingual Content change Clement / 23-11-23
Les menus et autres titres des sous tab pour un concept donné Multilingual Content change Clement / 23-11-23
La page my acocount et edit personnal info Multilingual Content change Clement / 23-11-23
Bouton Watch Multilingual Content change Clement / 23-11-23
Page feedback Multilingual Content change Clement / 23-11-23
Upload success view not translated Multilingual Content change Clement / 24-11-23
Il faudrait mieux définir le terme "Parcourir" pour qu'il ne soit pas confondu avec "rechercher dans stageportal" Top nav Improvement Feedback nina / 09-11-23
tous les intitulés de rubriques ne sont pas traduits en français dans le bandeau vert (je sais, ce n'est pas toujours évident) Top nav Improvement Feedback Sophie / 09-11-23

@saubin78
Copy link

saubin78 commented Feb 6, 2024

@syphax-bouazzouni there seems to be some issues displaying the content of the ontology depending on the UI language chosen.
We noticed the case for https://agroportal.lirmm.fr/ontologies/INRAETHES which is 100% French and 81% English.

Surprisingly, when selected language is French, some French labels don't show :
image
For concept c_13078, the RDF file contains this line:
<rdf:Description rdf:about="http://opendata.inrae.fr/thesaurusINRAE/c_13078">
<skos:prefLabel xml:lang="fr">carbone renouvelable</skos:prefLabel>
</rdf:Description>

When choosing "All languages", the French labels reappear
image

@syphax-bouazzouni
Copy link
Contributor Author

syphax-bouazzouni commented Feb 8, 2024

@syphax-bouazzouni there seems to be some issues displaying the content of the ontology depending on the UI language chosen. We noticed the case for https://agroportal.lirmm.fr/ontologies/INRAETHES which is 100% French and 81% English.

@saubin78, fixed in ontoportal-lirmm/ontologies_linked_data#128 if it's not the case, please continue the discussion in this issue ontoportal-lirmm/ontologies_linked_data#127,

@syphax-bouazzouni
Copy link
Contributor Author

Moved to #621

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

No branches or pull requests

6 participants