missing strings ?

9 years 1 month ago #156430 by nant

tomdewijn wrote: Hello Nant, I believe the ue_config needs to be integrated in the language plugin, as i am receiving english emails after I register on my dutch site. cf. ue_config.php.

Is it possible you have forgotten to integrate these strings in the language plugin?

eg. reg_pend_appr_sub etc...


Thanks,

Tom.

edited for typo


Exactly which emails are you talking about?

Please be specific with issue.
9 years 1 month ago #156431 by tomdewijn
the emails a user receives after registering, these strings are defined in ue_config.php eg.:

$ueConfig='Greetings [NAME],
Thank you for applying for registration with us. We have
received your request and we will process it as soon as you
confirm your email address by clicking on the following
hyperlink:
[CONFIRM]
Once your email address is confirmed our moderators will be
notified to continue the activation process.
You will be notified by email of the progress of your registration process.
[DETAILS]
Kind Regards,
Website Administration Team';

Thank you,

Tom.
9 years 1 month ago #156434 by nant
You mean the ones that are populated in the CB Configuration backend?
On the registration tab?

You need to translated directly there or you need to add a new language string for each section (in case of dual language websites).
9 years 1 month ago #156435 by tomdewijn
Well didn't check the admin panel yet till now, but yes, the ones populated by CB Configuration Manager / registration.

I am developing a multi-language site indeed.

Would be nice maybe in the future to have the ability to define different sets for different languages from the admin panel?

I will define/translate the necessary strings directly in the php file for now.

Thanks for your help,

Have a great day,

Tom.
9 years 1 month ago #156456 by nant
Example:

add to end of your language.php file:
DEFINE('_UE_MYPENDINGAPPROVALSUBJECT','Your Registration is Pending Approval');
DEFINE('_UE_MYPENDINGAPPROVALBODY','Greetings [NAME],\n'
.'Thank you for applying for registration with us.\n'
.'We have received your request and we will process it as soon as you confirm your email address by clicking on the following hyperlink:'
.'[CONFIRM]\n'
.'Once your email address is confirmed our moderators will be notified to continue the activation process.\n'
.'You will be notified by email of the progress of your registration process.\n'
.'[DETAILS]\n'
.'Kind Regards,\n'
.'Website Administration Team');

Then add:

_UE_MYPENDINGAPPROVALSUBJECT

and

_UE_MYPENDINGAPPROVALBODY

in the pending approval subject and body text areas of your configuration registration tab.
9 years 1 month ago #156476 by kmilos
@nant
Is there maybe a case for revisiting/reconsidering JoomFish support for stuff like announcements, welcome messages etc.? I know it can't be done (easily) for custom CB fields, but should fit ok with fixed functionality like this one?

I prefer this to customising language files: I've wiped my language files many a time during CB and/or language plugin upgrades. (I know, my own fault, backup, backup... But oversights still happen more often than we like, especially as you get older.) ;)
Moderators: beatnantkrileon
Time to create page: 0.441 seconds

Facebook Twitter LinkedIn