Personnaliser le texte dans Discourse

:bookmark: Ceci est un guide pour personnaliser le texte dans Discourse via l’interface d’administration, permettant des modifications de divers éléments de l’interface utilisateur.

:person_raising_hand: Niveau d’utilisateur requis : Administrateur

Dans Discourse, vous pouvez personnaliser tout le texte via l’interface d’administration. Cela peut être utile pour adapter l’expérience utilisateur afin qu’elle corresponde mieux au ton ou à l’image de marque particulière de votre communauté.

Résumé

Ce guide couvrira :

  • L’accès à l’interface de personnalisation du texte
  • La modification des chaînes de caractères
  • L’identification des clés de traduction

Accès à l’interface de personnalisation du texte

Pour personnaliser le texte dans Discourse, naviguez vers la page de personnalisation du texte :

  1. Allez dans Admin.
  2. Dans la barre latérale, faites défiler jusqu’à la section Appearance (Apparence) et cliquez sur Site texts (Textes du site).
    OU
    Entrez directement l’URL de l’écran https://discourse.example.com/admin/customize/site_texts

Vous serez présenté avec une page où vous pouvez rechercher des chaînes de caractères spécifiques à modifier.

Modification des chaînes de caractères

Pour modifier une chaîne de caractères :

  1. Recherchez le texte que vous souhaitez personnaliser.
  2. Cliquez sur Edit (Modifier).
  3. Entrez la nouvelle valeur.

Par exemple, vous pourriez vouloir personnaliser le lien "About Your Site" (À propos de votre site) :

Après avoir effectué les modifications et rafraîchi la page, le texte sera mis à jour :

Identification des clés de traduction

Si vous avez besoin d’aide pour identifier les chaînes à traduire, consultez ce guide : Find a translation key with verbose localization

FAQ

Puis-je personnaliser tout le texte dans Discourse, y compris les messages système ?
Oui, vous pouvez personnaliser presque toutes les chaînes de caractères, y compris les messages système, les notifications et les éléments de l’interface utilisateur.

Dois-je rafraîchir la page pour voir les changements ?
Oui, après avoir effectué des modifications, vous devrez rafraîchir la page pour que le texte mis à jour apparaisse.

74 « J'aime »
Find a translation key with verbose localization
Editing Server.en.yml
Customizable Email Templates
How to change the account confirm email content
[object Object] in top menu even after updating to v1.5.0.beta6 +23
Translate some Entries
Enable changing of trust level badge description text
Export customized text from database into YML
Custom content localization
Changing "Type title, or paste a link here" text
Modifying UI Text
How to add translation client.xx.yml and server.xx.yml files to the server?
Changing the names of things in Discourse
Is it possible to rename the word "Categories" to "Channels"?
Onboarding: Discobot, automated messages, other options?
Interpolation Keys for Customizing Text and System Email Templates
Rename Users to People
Any way to limit posting hours?
Is there a way to rename conventions such as Topic, Category etc
How to create a custom tip/popup when starting a new topic?
Enhancing My engineering Community Landing Page - Technology Support Category
Can I customize the welcome message shown when creating a new topic based on the chosen tag or category?
How can I change my sites local translate to my own settings
Hide ALL replies to Topics in a Category by default using Spoiler Text Plugin
Set up Telegram integration using the discourse-chat-integration plugin
Change sidebar community name
Discourse Gamification
Customize Your Site Branding
Discourse Newsletter Integration
Rename trust levels
Ability to return more than 50 site texts in the admin panel
Make `howto` a synonym for the #how-to tag
Customizing specific system email templates
Customise + New Topic Button
Discourse with a screen reader
Customizing FAQs and Guidelines
Is it possible to customise trust levels?
Discourse Post Voting
Possible to customize the "Log in" button when DiscourseConnect is enabled?
Can't find the customize text topic from link
Understanding post flags in Discourse
How do you modify the Chat Notification Email?
How to choose 'All Categories' & 'All Tags' in their respective dropdown menus, in one go?
Customize Login pop-up box?
Customizing Sign-up and Log in
Thanks for spending time with us PM - how?
Hiding elements of the /about page with CSS?
Misleading text for no results in user directory when ‘enable user directory’ disabled
Change URL or remove Powered by Discourse
Modify the copy of a button
Suggested Topics Not Displaying
Modifying roles and permission
Customize site text on Discourse - pros and cons
Change “search” of search
Password resetting workflow for an entire site
Configuring the default sidebar for your users
Can I force existing members to re-register when they next log in?
Discourse Solved
How to Add Georgian Language Support to the Admin Panel?
How to change the post data from relative data to absolute
Admin-Settable Global Read-Only mode
Configuring auto-bumping for topics
Kanban Board
Hide username from welcome banner
Frontend Nomenclature changeability and supporting case-sensitive tagging
Can I send an automated welcome message to all new users?
Localization Formatting Error in the %{date} function
Discourse Solved
Add another Text Content box to Customize
Accessing a user’s admin page
Changing 'vote' text in topic voting plugin
Discourse Rewind
Is Discourse community use the basic theme?
Is Discourse community use the basic theme?
Show timestamp posted for topic post
Untranslated text when creating a poll: “Allow options to be added or removed after posting”
Missing Discourse Math plugin for translating?
Changing automated Personal Message text
[PAID] - Points & Awards Plugin
Does anyone use the discourse narrative bot for new users?
Someone replied to a topic you are Watching
Where can I edit Discobot welcome post text?
Swedish interface - year of joining
Add localizable strings to themes and theme components
Discourse is ending support for Internet Explorer 11 (IE11) on June 1, 2020
Set up Telegram integration using the discourse-chat-integration plugin
Custom template for PM via API?
How might we better structure #howto?
Can I change the new post's placeholder text?
Change "Invalid Link" message
Customise Login "With JWT" copy
Discord as only Auth method: working, with issues
Number of group owner - standard mail
Where to set login.crowd.name for crowd login account creation?
Slack threads and chat integration plugin transcripts