Extension list

yootheme

ecommerce

joomla

Skip to main content

List of all our extensions

Create an account

JP AJAX Search - Using Language Constants in Text Fields


Article Index

Using Language Constants in Text Fields

Frontend text fields can use either normal custom text or Joomla language constants.

For example, the Load more text field can contain normal text:

Load more

Or it can contain a language constant:

MOD_JP_AJAX_SEARCH_DEFAULT_LOAD_MORE_TEXT

If a language constant is used, Joomla will translate the text using the active site language.

  • This is useful for multilingual websites.
  • Custom literal text is still supported.
  • Language constants are resolved on the frontend before the text is passed to JavaScript.
Source Status Overview
Page