1
stefan88
'_CHARSET' question ...
  • 2006/12/10 22:39

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


It is not exctly module usage question, but ...

I need to have all available "language - charset" in array. Shuld I do it with php and go through all language folders, or there is a beter way ...?
Any code will be welcome
..

2
chippyash
Re: '_CHARSET' question ...
  • 2006/12/11 8:15

  • chippyash

  • Friend of XOOPS

  • Posts: 501

  • Since: 2004/1/29


Stefan

Have you looked at the multi-linguals package/hack for Xoops? I think there is something in their that might help you. Else, you need to retrieve all the language folders. Remember to scan the language folders of the modules as well if you want a *set* that is available for your entire site. Alternatively create a list manually and store it in a static array (or define a constant string list.) This is not such a bad idea as the set of languages available at one time is fairly constant.

Regards
A

3
stefan88
Re: '_CHARSET' question ...
  • 2006/12/11 9:22

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
I'm playing with xLanguage now - like it very much. But I find it annoying to fill the form for adding language. See, I think computers should make life easyer and as the information is there (in files), it shuld be filled and I should only change someting or confirm it. So I'm modifying the module with little javascript to fill the form for me. And the only thing left is charset (most annoying from all).
So I thought there may be something like 'LangList' in XoopsLists, that will return also charset ...
..

Login

Who's Online

479 user(s) are online (358 user(s) are browsing Support Forums)


Members: 1


Guests: 478


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits