[pmwiki-users] Help please was Re: Language: PmWiki group configuration for dummies - II
Donald Z. Osborn
dzosborn at gmail.com
Sun Nov 12 12:14:24 CST 2006
Thanks Crisses, The basic question is, I think, whether the whole i18n
folder - or relevant files for the language(s) one needs - go directly into
the wikilib.d folder. Apparently at least some of them do? But if I want the
luxury of all languages, then that is a lot of files.
Originally I thought that the i18 folder as such would be accessed and
recognized. I unpacked
i18n.tgz<http://www.pmichaud.com/pub/pmwiki/i18n.tgz>on my computer
and did not attempt to do that on the server (not even sure
you can unpack via FTP). I'm obviously missing a couple of things here.
TIA for any pointers.
On 11/11/06, Crisses <crisses at kinhost.org> wrote:
> Can someone please help Donald?
> I'm in the US and have never set up language modules.
> On Nov 10, 2006, at 8:53 PM, Donald Z. Osborn wrote:
> I'm finally getting to test how to set up separate languages for
> wikigroups. And I'm stirring up more trouble.
> Per instructions last month and the PmWiki page on internationalization - http://pmwiki.org/wiki/PmWiki/Internationalizations
> - I have downloading the i18n.tgz<http://www.pmichaud.com/pub/pmwiki/i18n.tgz>into a folder i18n. Per instructions as I understood them I then put this
> folder in the directory with the *pmwiki.php* installation.This may not
> have been the correct procedure since apparently some or all of the files
> actually should go to the wikilib.d folder (if so can I manually translfer
> them?). But I will continue...
> Next, on the test wikigroup config I've been adding the script suggested
> below, and various permutations thereof, but getting consistently one of 2
> 1) English, not French
> 2) (When removing the $Skin='pmwiki' thinking that having both it and
> $Skin='french' may be a problem A retrurn that looks like this: PmWiki can't
> process your request
> ?unable to find skin from list french
> We are sorry for any inconvenience.
> #2 makes sense, since I did not put a file in the pub/skins/ named french.
> Is that correct (is there such a skin?)
> So, I tried adding this to the main config.php file to help the wikigroup
> find the French:
> $xlpage = FmtPageName('$Group.XLPage', $pagename);
> if (PageExists($xlpage)) XLPage($xlpage, $xlpage);
> But I still get the same results.
> Presumably I went wrong in the first step. Should I transfer the contents
> of the i18n folder into the wikilib-d folder?
> On 10/8/06, Crisses < crisses at kinhost.org> wrote:
> > On Oct 7, 2006, at 11:15 PM, Donald Z. Osborn wrote:
> > ...
> > > * different language settings (many English, many French, a few
> > > Portuguese. I'll get to the language later, I think, but maybe
> > > those commands should be done at the same time; language will be
> > > set once and for all for each case, in principle
> > Skins & Languages:
> > http://pmwiki.org/wiki/PmWiki/Internationalizations tells you how to
> > set up the language translations
> > Thus you can make a local/GroupName.php
> > <?php if (!defined('PmWiki')) exit();
> > //change to French language
> > XLPage('fr','PmWikiFr.XLPage');
> > // Set the skin for the group
> > $Skin = 'french';
> > Since this file is only read when loading a page in a specific group,
> > it sets the skin for any pages viewed in that group.
> > ...
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users