Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 - 2 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: xlanguage will not work with profiles
by kroewing on 2013/1/10 19:05:12

Hi mamba!
Hi trabis!

I agree with Andy. It will be great if this problem can be fixed in the future because I would like provide my site in German and English as well.

As I saw you are still working on the next version and I hope the problem will be fixed in the next version of the profile module. For sure it will be perfect if you could provide a fixed version quickly but I don`t want to burn your time.

I am happy to see that you are aware of the problem now and it will be reworked in the near future.

I am sure I will come back with some additional thinks soon, on a separate threads.

I appreciate all your hard work to make xoops to the best solution of portals


Thanks again
Heinz
Re: xlanguage will not work with profiles
by jcweb on 2013/1/10 10:20:39

Dear mamba, dear trabis

I can only say it from my sight, i think it makes no sense to work on it for the 2.5.5 version of xoops. Only if you must fix and let it go into the 2.6.x version, otherwise you have to go some steps backward.

If you can fixt it without pain and hours for investigation, ok. For me it is not a problem, allow me to say it is important we have a multilanguage solution in the future.

If i remember right, the xlanguage module was developed to show content in different languages and not in the first place to show core language files.

Thanks for all your work and time you spend.
Greets Andy
Re: xlanguage will not work with profiles
by trabis on 2013/1/9 19:01:38

Seems profile should be saving the constant keys instead of the translations (just like notifications does). That should be an easy fix.
Re: xlanguage will not work with profiles
by Mamba on 2013/1/9 16:43:43

OK, I might have found it, and if it's correct, then it is pretty surprising that nobody has found it earlier. It seems like the Profile module is pulling the names from the DB tables (profile_category and profile_field), in /profile/include/forms.php
le="color: #000000"><?php foreach (array_keys($elements) as $k) { array_multisort($weights[$k], SORT_ASC, array_keys($elements[$k]), SORT_ASC, $elements[$k]); $title = isset($categories[$k]) ? $categories[$k]['cat_title'] : _PROFILE_MA_DEFAULT; $desc = isset($categories[$k]) ? $categories[$k]['cat_description'] : ""; $form->addElement(new XoopsFormLabel("<h3>{$title}</h3>", $desc), false); foreach (array_keys($elements[$k]) as $i) { $form->addElement($elements[$k][$i]['element'], $elements[$k][$i]['required']); } }
These tables are populated during installation, so if you install XOOPS first in German version, it will be always German, regardless of any languages you add later, and of course, xLanguage will not help here. I guess, fixing this would required a major rewrite by the Core Team, but I am not sure if they will be able to do it for XOOPS 2.5.5, or only for XOOPS 2.6.0. But we'll will ask them for their view...
Re: xlanguage will not work with profiles
by Mamba on 2013/1/9 15:59:21

It's really hard to test it without seeing your installation.

Could you email me one of the two:

a) your XOOPS installation with all the files and the profile module?

or

b) Webmaster and FTP/phpMyAdmin passwords, so I can take a look at your site?

Any of this will work.

Who's Online

192 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits