1
rogermakrm
xlanguage module question
  • 2005/12/16 1:03

  • rogermakrm

  • Just popping in

  • Posts: 7

  • Since: 2004/7/22


Hello Helpers:

i have just installed an xlanguage module. and i went into the xlanguage config page in module admin page and tried to add 2 "BASE" languages following the instruction from the readme.txt file

base 1: name: english; description(optional): English; charset: iso-8859-1; code: en (or anyother like "xen", not a true language code, just the tag for indicating English content)

base 2: name: schinese; description(optional): Simplified Chinese; charset: gb2312; code: zh (or anyother like "sc", not a true language code, just the tag for indicating Chinese content)

i have no problems in adding base 1

but when i tried to add base language 2 (schinese), it won't let me choose it from the "name" drop down list box, it only have "english" there...

i have uploaded everything in the xlanguage folder before i install,

please, help, how can i add the second base language (schinese)??

Thanks in advance!Please Reply!

From roger =D

2
phppp
Re: xlanguage module question
  • 2005/12/16 1:24

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


You can only add a language that has language package in your XOOPS/language/ as "base"

3
rogermakrm
Re: xlanguage module question
  • 2005/12/16 5:17

  • rogermakrm

  • Just popping in

  • Posts: 7

  • Since: 2004/7/22


hello, thanks for your help. i got it installed but somehow still does not work...well anyway...i got another may be a stupid question here....my question is, i have installed a theme and this theme has it's own navigation bar..

1.home
2.links
3.contact

but when i press on them....the pages does not load....what do i need to do to add a page to contact?, i mean a contact page for this contact link...

and how do i customise my links and what they are pointing to....??

do i have to modify the php or html codes of these files..or??

please Help! thanks in advance!

From roger =D

4
quetzal
Re: xlanguage module question
  • 2006/1/4 0:42

  • quetzal

  • Just popping in

  • Posts: 1

  • Since: 2006/1/4 0


Quote:

phppp wrote:
You can only add a language that has language package in your XOOPS/language/ as "base"


Right. I figured that tzo. But where can you find language packages for XOOPS ?

5
stefan88
Re: xlanguage module question
  • 2006/1/4 1:09

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Quote:
But where can you find language packages for XOOPS


Xoops Translations - Official XOOPS Development Site:
http://dev.xoops.org/modules/xftrove/trove_list.php?form_cat=281

Xoops 2.2 Core Languages - SourceForge.net:
http://sourceforge.net/project/showfiles.php?group_id=41586&package_id=75007&release_id=352534
..

6
jani003
Re: xlanguage module question
  • 2006/1/9 14:25

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


I continue this thread with more problems

Hi

this looks exactly like the module i'm looking for, but I can't get it to work.

I have downloaded the module, installed it
updated my common.php as follows
// $xoopsConfig['root_path'] = XOOPS_ROOT_PATH."/";

include_once XOOPS_ROOT_PATH.'/modules/xlanguage/api.php';
// #################### Include site-wide lang file ##################
if ( file_exists(XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php") ) {
include_once XOOPS_ROOT_PATH."/language/".$xoopsConfig['language']."/global.php";
} else {
include_once XOOPS_ROOT_PATH."/language/english/global.php";
}

I have created two base languages, english and swedish

and I have made the block visible
I also have added [sv]text[/sv][en]english text[/en] in some blocknames and modules names

But I don't get the flags to click on in the language block.

there is just a invisible link to the top of my homepage.
what am I missing?

Regards
Janne

7
jani003
Re: xlanguage module question
  • 2006/1/10 17:40

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


Hi, I figured out that it's just the block that isn't working,

Auto selection of site language depending on settings in the browser works just great.

But I want the block to work, any suggestions??

//Janne

8
phppp
Re: xlanguage module question
  • 2006/1/10 17:55

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


"there is just a invisible link to the top of my homepage."

What's this?

9
jani003
Re: xlanguage module question
  • 2006/1/10 21:00

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


Instead of the flags, the space right under the block title seems to be blank, but if you move the cursor over it, you can see that it changes like it's clickable, and you can see in the browser that the link is tohttp://brollop.paananen.nu

Hope you understand what I mean.

//Janne

10
jani003
Re: xlanguage module question
  • 2006/1/10 21:03

  • jani003

  • Just popping in

  • Posts: 14

  • Since: 2005/9/20


the block is now activated again, if you want to have a look for youself, feel free to register and login.

Regards
Janne

Login

Who's Online

153 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

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

Latest GitHub Commits