Help5.x

Talen: Overrides bewerken

From Joomla! Documentation

Revision as of 11:57, 5 January 2024 by MartijnM (talk | contribs) (Created page with "==Schermafbeelding== 800px")

Beschrijving

Overrides geven de mogelijkheid een 'core' Joomla taalstring te overschrijven.

In de Joomla code wordt van teksten die verschijnen in de gebruikersinterface, zowel op de website als op de beheerdersinterface, verwacht dat ze als string worden worden opgenomen. Bijvoorbeeld, de string Uw sessie is verlopen. Log opnieuw in. wordt weergegeven via JLIB_ENVIRONMENT_SESSION_EXPIRED. De tekst kan vertaald worden in welke taal dan ook. De standaard taal is Brits Engels. Er zitten duizenden van zulke strings in de Joomla installatie.

Als de string niet passend is voor uw site kunt u de taaloverride functie gebruiken om het origineel te vervangen.

Hoe toegang krijgen

  • Selecteer Systeem  Beheren venster  Taal overrides. Dan...
    • Selecteer een taal & locatie vanuit de uitklaplijst. Dan...
      • Selecteer de Nieuw knop in de werkbalk om een nieuwe override aan te maken. Of...
      • Selecteer de constante link in de Constante kolom om een bestaande override te bewerken.

Schermafbeelding

Form Fields

Right Panel: Search text you want to change

  • Search For. Start here! You are more likely to know the Value (expired) than the Constant (_EXPIRED). In either case, the search is a case insensitive for the partial string.
  • Search Text. Enter the text to search for and select the Search button.
  • Search Results. A list of strings containing the search term appears in a separate panel. Select the one you are looking for. The constant and text will be copied into the Create a New Override panel, labelled Edit this Override if you editing an existing override.

Left Panel: Create a New Override or Edit this Override

  • Language Constant. This is the strings used in the code by the developer. If the value does not exist in the code the string will never be used.
  • Text. This is where you override the default term with your version.
  • File. This shows where the override file is located in the file system. You might need to know this for trouble-shooting.

Toolbar

Near the top of the page you will see the filter bar shown in the Screenshot above. The functions are:

  • Save. Saves the item and stays in the current screen.
  • Save & Close. Saves the item and closes the current screen.
  • Save & New. Saves the item and keeps the editing screen open and ready to create another item.
  • Cancel. Closes the current screen and returns to the previous screen without saving any modifications you may have made. Or
  • Close. Closes the current screen and returns to the previous screen without saving any modifications you may have made. This toolbar icon is not shown if you are creating a new item.
  • Help. Opens this help screen.