Page 1 of 1

Can I changed the wording in Context Settings of Items (tags)?

Posted: 08 Jun 2025, 20:32
by JMM
Hello again, Karl,

For Items (tags), when amount and folders_amount are selected in Context settings to be displayed for a gallery, when those galleries are displayed, the page shows (for example) 12 Images and/or 3 Folders (if they are present).

Not site-wide, but on a gallery-by-gallery (folder-by-folder) basis, am I able through Custom CSS for each gallery (folder) to change the wording, for example:
  • from Images to Panoramas or Videos (or similar); and
  • from Folders to Countries (or similar)?
I acknowledge that I would still select amounts and/or folders_amount in Context settings for those galleries, it is just the wording on the galleries page that I wish to change.

Thank you in advance, and have yourself a great day.

Regards,
John

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 08 Jun 2025, 22:14
by mjau-mjau
Hi John. Yes, because the lang for these interface elements are done by CSS. For example for a page /your/page/:

Code
.page-your-page .amount:after {
  content: 'myimages!';
}
.page-your-page .folder_amount:after {
  content: 'myfolders!';
}

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 09 Jun 2025, 05:03
by JMM
Thank you, Sir, that worked out well, as you can see HERE.

Have yourself a great week.

Regards,
John

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 16 Feb 2026, 11:27
by elpd
Hi Karl,

I'm trying to achieve the same thing on my website. I would like to change the naming of these items at the page/album level, but I can’t get it to work using the code you provided.

Could you please explain a bit more specifically where exactly I should add this code and what I need to modify in order to make it work on my site? I’ve already tried several things, but unfortunately without any result or error message.

Thanks in advance!

Best regards,
Erik

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 16 Feb 2026, 21:31
by mjau-mjau
elpd wrote:I would like to change the naming of these items at the page/album level
Please send me a link to the page where you want to change the text, and the exact text you want to change it to, and I will give you a working example and where to add it.

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 17 Feb 2026, 03:36
by elpd
Thank you for your response. I’ll send you the link to the page and the login details via PM, as I don’t want to make them public yet (the page is still under construction).
You’re welcome to share the solution on the forum, so others might benefit from it as well.

It currently says: Albums
It should say: Cases

Thanks in advance for your reply.

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 17 Feb 2026, 21:28
by mjau-mjau
elpd wrote:It currently says: Albums
It definitely says "Images" and not "Albums", unless you gave the wrong link.
Image

To apply the language change for images and albums, add this to Settings > Custom > Custom CSS:
Code
.page-klantcases .amount:after {
  content: 'Cases'; /* whatever you want it to say instead of "Images" */
}
.page-klantcases .folder_amount:after {
  content: 'Cases'; /* whatever you want it to say instead of "Ablums" */
}
elpd wrote:You’re welcome to share the solution on the forum, so others might benefit from it as well.
This is the same solution as previously shared in this topic. You just need to modify ".page-PAGENAME" to match the page you are applying it for, as in your case it is ".page-klantcases".

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 18 Feb 2026, 04:53
by elpd
Thank you for your reply!
It definitely says "Images" and not "Albums", unless you gave the wrong link.
I was referring to the text at the top of the page, where it said 27 Albums (see screenshot below).
voorbeeld.jpg
voorbeeld.jpg (163.92 KiB) Viewed 1049 times
I’ve added the code and it works — it now says Cases. Thank you so much!
This is the same solution as previously shared in this topic. You just need to modify ".page-PAGENAME" to match the page you are applying it for, as in your case it is ".page-klantcases".
I had actually tried something similar before, but I removed the first word “page” as well, which caused it not to work. That was the part that confused me. Now I understand it, and I can apply it to other pages as well.

Thanks again!

Re: Can I changed the wording in Context Settings of Items (tags)?

Posted: 19 Feb 2026, 03:50
by mjau-mjau
elpd wrote:I was referring to the text at the top of the page, where it said 27 Albums
Ah ... Ok, it seems the solution works for that text also!