JP AJAX Search - Using Language Constants in Text Fields
Article Index
- JP AJAX Search
- How to install & use
- Basic Module Settings
- Using Language Constants in Text Fields
- Source Status Overview
- Joomla Articles Source
- Product Sources
- Phoca Cart Source
- HikaShop Source
- J2Commerce Source
- OCH Subscriptions Source
- Document and File Sources
- jDownloads Source
- DOCman Source
- eDocman Source
- Event Sources
- Event Booking Source
- JEvents Source
- Frontend Style Presets
- Display Settings
- Smart Relevance Ranking
- Access Levels and Visibility
- Frontend Testing
- Troubleshooting
- Developer Notes
- Recommended Setup
- All Pages
Page 4 of 26
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.