Skip to Content Skip to Menu

missing strings ?

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 8 months ago #156430 by nant
Replied by nant on topic Re: missing strings ?

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.

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

  • tomdewijn
  • tomdewijn
  • OFFLINE
  • Posts: 19
  • Thanks: 3
  • Karma: 0
13 years 8 months ago #156431 by tomdewijn
Replied by tomdewijn on topic Re: missing strings ?
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.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 8 months ago #156434 by nant
Replied by nant on topic Re: missing strings ?
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).

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

  • tomdewijn
  • tomdewijn
  • OFFLINE
  • Posts: 19
  • Thanks: 3
  • Karma: 0
13 years 8 months ago #156435 by tomdewijn
Replied by tomdewijn on topic Re: missing strings ?
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.

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
13 years 8 months ago #156456 by nant
Replied by nant on topic Re: missing strings ?
Example:

add to end of your language.php file:
Code:
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.

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

  • kmilos
  • kmilos
  • OFFLINE
  • Posts: 23
  • Thanks: 2
  • Karma: 4
13 years 8 months ago #156476 by kmilos
Replied by kmilos on topic Re: missing strings ?
@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.) ;)

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

Moderators: beatnantkrileon
Powered by Kunena Forum