#411 Location of Language file Constants/Values for Site

Posted in ‘Feature Requests’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Olivier on Wednesday, 06 August 2025 23:27 UTC

Chris Elliott

Looking around today I note that certain Site text strings are only found in the Admin language ini file.

I needed to change J2STORE_CHECKOUT_SHIPPING_PAYMENT_METHOD which shows in the front end but its defined in the Admin ini file.

Similarly, J2STORE_VIEW_ORDER_HISTORY is not in Site, but is in Admin.

This is confusing (at least to me) as I had to create overrides in the Site ini file to deal with me needing to have different text for - at least these two - strings.

Can the Site strings be moved or added to the Site ini file?

Olivier

Hello Chris,

you cannot add the language keys in the extension's files, because they will be overridden during the next update.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Chris Elliott

So the recommendation would be to use the System Language Override?

I can find the constant and its value in the extension's language file and once found I can create the override in the System level area?

Olivier

Yes, the only option is to create language overrides.

When creating a language key in the language overrides page, it is possible to do a search by key or by its value. But you can also read the keys/values in the language files as well, whatever is easier for you.

Olivier.

Growing Together

Help us get back to #1 in the Joomla Extension Directory by leaving us a 5-Star review here.

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.