Dear Kars-T,

thank you for this module which it sounds a good idea.
On my installation - D6.10 + i18n + RegLang-1.3 - I cannot set properly the User Setting without loosing all user emails translations (see issue at #369305: User Setting update deletes email translations).
So, if I want to set the Registration Language, I am obliged to use the User Setting page, which will indeed erase all translations.
Do you think would be possible to move the Registration Language setting into an independent page under User Management (admin/user)?
This perhaps would help.

Many thanks.

Comments

kars-t’s picture

Status: Active » Closed (works as designed)

Hi

Right now this module only sets the users language so an email COULD get translated. But I don't touch the email text. You have to use mail_edit to really translate the emails. Its an easy to use module and seems to me stable in the D6 version. So give it a try!

Otherwise I am thinking to make a fallback option in this module. It wil waste performance for the look up but maybe I should try to check if the string inside the email is the default string and translate it again if so. Or mabye force to always use the default string. I have to think about this a bit. But if I make this an option maybe it helps :)

Or mabye I just use an own config page so no one has ever to submit "user settings" hr hr hr.
"Hey I want an user image but after this my multilangual mails are wrecked!" No I don't think this is necessary. It has to be possible to use this page.

univac’s picture

Dear Kars-T,

thanks for your prompt reply.
I am not asking you to fix the issue on the emails translation, which to me is a bug in the config saving mechanism.
I assume your RegLang module works fine. Only that once installed, it display the first option as the default configuration. Pritty fine, but because I need to select the second option I am force to save the User Setting page. This saving operation surface the bug I have reported separatly #369305 and erase my translations.
My emails translations were already configured via po files. This is why I do not have mail_edit installed - which seems to do the very same job.
I don't want you make some dirty patch to your module. But perhaps having the possibility to pre-set the language option in
some text configuration file before installation, where I can put the default initial value for Registration Language would be a nice help.
In this way I could pre-set the option I need - the second one - before installation and then live with that until some kind person is able to patch #369305.
What do you think to this solution?

Thanks again.
Cheers

kars-t’s picture

I don't think the problem is solved with "Just don't use the user settings page". You have to use it for example to set the user images or maybe use the location module. We need a solution here. I understand its not great that this right now forces you to use one more module. So I want to make a fix that is independent.

And it definitively wouldn't be a dirty patch if I fix this ;)

Right now I can't do anything about it. If you install mail_edit it should get and set your translated data for the module through the local system. I hope that I can look into this during next week.

kars-t’s picture

After I looked at it I have to admit there is no possibility to get the default strings from the user module without parse the module or copy paste them. As these are no real options and I don't want you to force to use anything and make this module as easy as it can be I think I will setup a different admin page for the next release.

univac’s picture

Dear Kars-T,
effectively it seems there are no workarounds. I have installed Mail_edit, which looks a nice tool by the way. Unfortunately, after having set the Registration Language, with the side effects as above, I have tried to re-translate some emails via mail_edit, but it looks like it doesn't take these new translations.
In the end, I would really appreciate if, for the time being, you move the Reg Lang setting on a different admin page.
Thanks for now.
Cheers,
univac

PS: Question: am I the only poor guy haveing this issue #369305: User Setting update deletes email translations or can you reproduce it in your installation?

kars-t’s picture

6.x-1.4 has its own settings page.

@univac
I have tested the usage of the mail_edit module and it runs fine for me with any mail I send. Maybe you missend some email settings?

machi27’s picture

Hi!!!
This is working great, did exact all the steps and made it. :)
but It is not working using the ajax_register module.
If i use the ajax_register form i do not get the translation, instead if i am using the site/user/register form everything works fine.
Any idea about how to solve this???

Thanks

bartezz’s picture

subscribing