Language changes

More
20 Jul 2024 15:59 #2743 by peterysarah
Language changes was created by peterysarah
Hello,

I would like to change the language for the registration plug in, but I dont' see any entries in the language file for the plugin.  Are they hardcoded in a particular file?

This is the language I'm referring to.

thanks Pete.

Receive NewsletterReceive Newsletter
Yes
NoPlease select this option if you want to receive our newsletters.

Please Log in or Create an account to join the conversation.

More
25 Jul 2024 14:55 #2744 by pete
Replied by pete on topic Language changes
Hi Pete,

You should create language overrides in the Joomla admin console. If you edit the language files directly you will lose your changes with every update.

The language keys you want to modify:
PLG_USER_JOOMLAMAILER_RECEIVE_NEWSLETTER
PLG_USER_JOOMLAMAILER_NEWSLETTER_DESC

For the record, the language file you were looking for is this one: /administrator/languages/en-GB/en-GB.plg_user_joomlamailer.ini
Probably you checked the languages folder in the root directory, but plugin language files are stored in /administrator/languages/

Best regards,
Pete

Please Log in or Create an account to join the conversation.

More
25 Jul 2024 15:25 #2745 by peterysarah
Replied by peterysarah on topic Language changes
Thanks for getting back to me.

Neither of those keys is visible in the language over-ride area in the backend. I go into the Administrator language and search for the constant for both keys you mentioned and it returns nothing. Bit weird - never had this before. Tried re-installing and the same result.

Please Log in or Create an account to join the conversation.

More
25 Jul 2024 15:57 #2746 by pete
Replied by pete on topic Language changes
You mean the search function when you open the "new override" page, yes?
It's weird that it doesn't show. I just tried it to confirm but it's working for me. What Joomla version are you on and for which language did you try to create the override?
Can you check if this file exists: /administrator/languages/en-GB/en-GB.plg_user_joomlamailer.ini

Please Log in or Create an account to join the conversation.

More
25 Jul 2024 16:21 #2747 by peterysarah
Replied by peterysarah on topic Language changes
Yep, that is where - the new override page. Same place I do them for everything else on my site.

I'm using 4.4.6 and en_gb language override.

The file exists in that directory. I can change it there for now and it accepts it - obviously will lose during updates.

I did try re-installing the extension and same result.

Please Log in or Create an account to join the conversation.

More
25 Jul 2024 16:44 #2748 by pete
Replied by pete on topic Language changes
Did you select "English (United Kingdom) - Administrator" ? When I select "English (United Kingdom) - Site" I also can't find the language constant but it works when the location is Administrator.
Also, please delete the overrides cache after installing the joomlamailer component. Maybe you have outdated cache.

Please Log in or Create an account to join the conversation.

More
25 Jul 2024 16:54 #2749 by peterysarah
Replied by peterysarah on topic Language changes
yep, changed the drop down to administrator language.

just tried to clear cache, no difference.

Please Log in or Create an account to join the conversation.

More
26 Jul 2024 11:06 #2750 by pete
Replied by pete on topic Language changes
I can't reproduce this issue whatsoever. Would you consider sharing an admin login to your site so I can have a look and maybe figure out what's going on? You can send it to support@joomlamailer.com

Please Log in or Create an account to join the conversation.

More
26 Jul 2024 11:24 #2751 by peterysarah
Replied by peterysarah on topic Language changes
Sure, I'll resysnc my staging site first and send over a login.

Please Log in or Create an account to join the conversation.

More
29 Jul 2024 09:04 #2752 by pete
Replied by pete on topic Language changes
Just to confirm, you didn't send anything yet, did you? No rush, just making sure I didn't miss your email in the depth of spam folders and such... :)

Please Log in or Create an account to join the conversation.