[pLog-general] Different New User Creation Templates.
Zaid B. Amireh
zamireh at albawaba.com
Wed Sep 14 09:21:04 GMT 2005
Well, it appears that the strings 'register_default_article_text' etc.
get translated according to the locale of the summary page, this can be
found in the file "class/summary/action/dofinishregister.class.php" in
the function "createBlog($userId)"
$articleText = $this->_locale->tr("register_default_article_text" );
if I understand this correctly, $this is a 'summary' object and not a
'user' object so the translation is not dependant on the selected locale
of the user, its dependant on the locale of the summary page which is
kinda incorrect if you ask me.
please note that I'm not a developer, I'm just a lazy admin :D
cheers
Zaid Amireh
Oscar Renalias wrote:
>It's already done like that, the category name and the post text are
>localized according to the selection of the user during the
>registration process.
>
>Oscar
>
>On 9/14/05, Zaid B. Amireh <zamireh at albawaba.com> wrote:
>
>
>>Hello All,
>>
>>We are currently implementing pLog supporting two locales, english and
>>arabic.
>>
>>We need to know how we can change the creation template (or 'skeleton'
>>would be more appropriate) of the user according to his locale choice.
>>
>>For example, if the user chooses the english locale when registering he
>>would get a 'General' category and an english 'Welcome' post, but if the
>>user chooses the arabic locale it would be nice to have the first post
>>in arabic and so the category.
>>
>>I hope this was clear.
>>
>>with regards.
>>
>>Zaid Amireh
>>_______________________________________________
>>pLog-general mailing list
>>pLog-general at devel.plogworld.net
>>http://devel.plogworld.net/mailman/listinfo/plog-general
>>
>>
>>
>_______________________________________________
>pLog-general mailing list
>pLog-general at devel.plogworld.net
>http://devel.plogworld.net/mailman/listinfo/plog-general
>
>
More information about the pLog-general
mailing list