Recent Changes - Search:

<<<<<<< Wonderfull great site http://creatorsflow.com/pharmacy/is-bactrim-used-to-treat-gonorrhea-rvyy.pdf bactrim jarabe pediatrico precio In addition to Brixmor, it has filed IPO plans for U.S. hotel operators Hilton Worldwide Inc and budget hotel operator Extended Stay America. It may sell or IPO budget hotel chain La Quinta Inns & Suites. ======= <<<<<<< I'm training to be an engineer http://gatewayproperties.in/pharmacy/dermaroller-rogaine-ghcm.pdf buy rogaine foam canada Ms Cleoch added: "I ­believe we have gone past the point of entering in to negotiations or open dialogue with Russia, and Glasgow should make a stand of solidarity with LGBT people in Russia by ending the Twinning Agreement immediately. ======= <<<<<<< Could you ask him to call me? https://omelhordocedomundo.com.br/pharmacy/para-que-sirve-la-atorvastatina-tabletas-de-20-mg-mnjk.pdf atorvastatin orion 20 mg The U.S. Food and Drug Administration warned last April thatfentanyl patches could cause life-threatening harm to childrenwho were accidentally exposed to patches that may have fallen tothe floor or been improperly discarded. ======= <<<<<<< US dollars http://creatorsflow.com/pharmacy/insomnia-from-zoloft-rvyy.pdf buspirone and zoloft together Obama scolded Republicans on Tuesday for demandingnegotiations, but said he would talk about anything includingthe healthcare law if Republicans re-opened the government andlifted the debt ceiling even for the short term. ======= <<<<<<< What's your number? http://www.astroadhesives.com/ibuprofenparacetamol-for-oral-suspension-janj metocarbamol mas ibuprofeno plm Both studies, published in the British Medical Journal(BMJ)on Wednesday, found that people living with the highestlevels of aircraft noise had increased risks of stroke, coronaryheart disease and other cardiovascular diseases. ======= <<<<<<< Excellent work, Nice Design https://looesardines.co.uk/pharmacy/getz-pharma-brwp.pdf coin clinic The actor, whose decision to leave Downton saw his character getting killed off in a car accident, plays the role of Ian Katz in the movie adaptation of the real life events that resulted in the build up of Wikileaks. ======= <<<<<<< Which year are you in? http://eletrothermobsb.com.br/pharmacy/valsartan-basics-160-mg-brwp.pdf valsartan hidroclorotiazida precio farmacia guadalajara The alliance is part of a trend towards market consolidationas the Affordable Care Act is pushing hospitals to achievegreater negotiating leverage, said Joel Cantor, director of theCenter for State Health Policy at Rutgers University. ======= <<<<<<< this is be cool 8) https://mail.ienuestrasenoradelperpetuosocorro.edu.co/pharmacy/salbutamol-sterydy-opinie-rvyy.pdf salbutamol sirop contre indication After exploring Jesus' hometown of Nazareth, visit the cliffs of Mount Kedumim, or Mount Precipice. The mountainside is said to be the site of the attempt of an angry mob to throw Jesus over a cliff after his bold proclamation in the Nazareth synagogue in Luke 4:16-30. ======= <<<<<<< Whereabouts in are you from? http://www.astroadhesives.com/differine-creme-maroc-rvyy differine creme maroc People who complained about the Smart car's lack of speed probably won't find much solace in the Armadillo-T. The prototype car's top speed currently stands at around 37 miles per hour, half as fast as the Smart car's 75 miles per hour. ======= <<<<<<< I've got a full-time job https://www.cloudtracker.com.br/pharmacy/index.php/generic-for-cyproheptadine-4mg-ekud.pdf cyproheptadine hcl syrup ip in tamil Prosecutors said Moises Martinez, 52, strangled traffic enforcement agent Yajaira Reyes. Her body was discovered in a trash can inside their Walton Ave. apartment by cops early Sunday after Martinez attracted their attention by parking his livery cab on the sidewalk in front of their building. ======= <<<<<<< Children with disabilities http://twltr.techworldlogics.com/pharmacy/la-ivermectina-hace-dar-diarrea-ghcm.pdf ivermectina chile doctor simi Another car bomb exploded near a gathering of daily laborers in the Allawi area near the fortified Green Zone where government offices are located, killing five people and wounding 13. In eastern Baghdad, seven people were killed and 15 others were wounded when a car bomb went off near a traffic police office in Baladiyat neighborhood. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>

<<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= ======= <<<<<<< What company are you calling from? https://mail.ienuestrasenoradelperpetuosocorro.edu.co/pharmacy/albuterol-90-mcginh-inhalation-aerosol-price-mnjk.pdf how long is albuterol good for after expiration date "I'm going to stick to it, to get ready for when it really counts, which is in April and May and definitely we're trying to play in June, so I'm not trying to burn myself out and pressing the issue about playing seven games in 10 nights, or five games in seven nights. I'm not going to press that issue. I understand what it is. The games they need me, they want me out there, I'm a go. And the preseason doesn't count." ======= <<<<<<< Will I get paid for overtime? http://www.astroadhesives.com/clopidogrel-actavis-75-mg-hinta-ekud atorvastatin 10mg clopidogrel 75 mg brands The document, which wraps up a preliminary investigation started in October 2011 and was sent to all the parties involved, says the alleged crime was committed "in the interest and to the benefit of JP Morgan". ======= <<<<<<< Best Site Good Work http://jaw-bone.net/pharmacy/vitamin-b12-ampule-cijena-mnjk.pdf vitamin b12 spritze beim arzt kosten “I want to get my jaw seen to, and then we’ll probably fight Raymundo again,” said Burns. “From the second round onwards, I was just trying to protect my jaw because I knew it was damaged.” ======= <<<<<<< How do you do? https://themarstrendz.com/pharmacy/calcium-carbonate-tablets-uses-janj.pdf alfacalcidol and calcium carbonate brand name They needed someone who knows having access to A-Rod is good for radio ratings. Most importantly, they needed someone arrogant enough to dismiss all dissenting opinions — someone with an extremely large listening audience and an even larger ego. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>

<<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= <<<<<<< ======= ======= When do you want me to start? https://melorncekavukatema.com/pharmacy/aleksandr-toproll-arm-wrestling-ekud.pdf para que es el metoprolol tartrate 25 mg That’s the decision a judge handed down Monday against John Henry Spooner, the Milwaukee man who gunned down his 13-year-old neighbor after accusing the teen of robbery. The blatant broad-daylight killing of Darius Simmons, ironically, was all caught on Spooner’s own surveillance camera system, which gave prosecutors indisputable evidence. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>

Internationalizations

PmWiki supports internationalization (internationalisation) of web pages, allowing accented characters to appear in page names and almost complete customization of PmWiki's prompts. Most customization is provided via the XLPage() function in PmWiki, which loads a set of translation variables from a wiki page (typically named XLPage, but it can be named anything you wish).

The rest of this page is devoted to the installation, configuration and usage of other language(s) support. If you are looking for tools and help to localize PmWiki in your language, or how you can improve the existing translations, start on pmwiki.org with the page Localization - The Translation Portal.

Loading Translation Pages

Pages for many other languages have already been created and maintained at the pmichaud.com site. You can download an archive of these translations from http://www.pmwiki.org/pub/pmwiki/i18n/ . Simply download the appropriate language archive(s), and unpack the archive(s) into the directory containing your pmwiki.php installation. Each archive contains a number of page files that are placed in your wikilib.d/ directory, and some special scripts for translations that use a character set other than iso-8859-1 (PmWiki's default). You can also use UTF-8 charset.

Once the translation pages are installed, you enable a language by adding a call to XLPage() in your config.php file. For example, to select French language prompts, one would specify

include_once("scripts/xlpage-utf-8.php"); # optional
XLPage('fr','PmWikiFr.XLPage');

which says to load the translations for French ('fr') from the page PmWikiFr.XLPage?. The include_once line is recommended if you start a new wiki, and it should be placed before the XLPage line (for languages with alphabets other than the Latin, the include_once line is required). These lines should be placed near the beginning of config.php, but after any $WikiDir and $WikiLibDirs setting (if you have such setting).

It's possible to load multiple pages; so if you want to create your own local translations without changing the ones you got from an i18n archive, just create another page (see below) and load it first. Be sure that you load first the page with your local changes:

XLPage('fr','PmWikiFr.XLPageLocal');  # my local translations
XLPage('fr','PmWikiFr.XLPage');       # from i18n.tgz

If your intention is to offer multiple languages on your site, and use Wiki Groups as language selectors, you may want to place this code in local customizations files (see Group Customizations). For example, if your site is published in French and English, and the French pages are in a group called Fr, you could create a file named Fr.php in the local/ directory which contains:

<?php if (!defined('PmWiki')) exit();
##change to French language
XLPage('fr','PmWikiFr.XLPage');

You may wish to create a page called PmwikiFr.php with the same content to access the French documentation in the PmwikiFr group. En.php is not necessary in this case since English is the default language.

An alternative to the above would be to add to config.php the following, which tests if there is an XLPage in a group, and if it finds one it gets loaded (any language):

    
$xlpage = FmtPageName('$Group.XLPage', $pagename);
if (PageExists($xlpage)) XLPage($xlpage, $xlpage); 

With this method you would need to copy any relevant XLPage into any group which needs the different language support.

Another way (advanced) would be insert into config.php this script, it asks to the web server the headers received from the user's browser and select a language; example with spanish and english:

    
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($lang){
   case "es":
      XLPage('es','PmWikiEs.XLPage');
      break;
   case "en":
      XLPage('en','PmWikiEn.XLPage');
      break;
   default:
      XLPage('en','PmWikiEn.XLPage');
      break;
}

See also

Creating New Translations

If language pages don't exist for your desired language, it's easy to create one! An XLPage translation file simply contains lines of the form

'phrase' => 'translated phrase',

where "phrase" is an internationalized phrase (denoted by $[phrase]) in PmWiki's $...Fmt variables, and "translated phrase" is what should be printed in your particular language. For example, the line (in PmWikiFr.XLPage)

'Search' => 'Rechercher',

converts "$[Search]" to "Rechercher" on output. The file Localization:XLPageTemplate is a good starting point for creating a new XLPage and has most of PmWiki's key phrases already listed in it.

If you create new versions of PmWiki pages in other languages, please consider adding them to the main PmWiki site so that they can be made available to others in the i18n archives! (Be sure to check out The Localization Portal? for further information on effectively internationalizing PmWiki.)

The term "i18n" is commonly used as an abbreviation for the English word "internationalization". The abbreviation is derived from the fact that there are 18 letters between the "i" and the final "n" and few people want to type them all out.

Enabling "Special" Characters in WikiLinks

To enable "special" characters like for example German umlauts in WikiLinks, it is necessary to configure the server locale to ensure that PmWiki uses the proper character set definition.

If this is not possible due to limited access to the server configuration, PmWiki can be configured to use a specific locale by using the XLPage options (see XLPageTemplate).

For German umlauts, you'd need for example:

  • 'Locale' => 'deu', <- for Windows servers, see MSDN List of locale identifiers
  • 'Locale' => 'de_DE', <- for Linux servers; for the UTF-8 encoding, on some installations you may need to set 'de_DE.utf8' or 'de_DE.UTF-8'.

Note that the locale identifier depends on the operation system and perhaps on the specific installation.

Notes

If my wiki is internationalized by config.php, how do I revert a specific group to English?

Use $XLLangs = array('en'); in the group's group customization file.

If my wiki is in English and I want just one page, or group, in Spanish do I say XLPage('es','PmWikiEs.XLPage'); in the group or page configuration file?

Yes, that is usually the best method. If you were doing this with many scattered pages, or with several languages, you might find it easier to maintain if you load the translations all in config.php like this:

   XLPage('es','PmWikiEs.XLPage');
   XLPage('fr','PmWikiFr.XLPage');
   XLPage('ru','PmWikiRu.XLPage');
   $XLLangs = array('en');

Then in each group or page configuration file, you'd just use $XLLangs = array('es'); to set the language to use (in this case, Spanish). Note that though this method is easier to maintain, its somewhat slower because it loads all the dictionaries for each page view, even if they won't be used.

What does the first parameter of this function stand for? How can it be used?

The XLPage mechanism allows multiple sets of translations to be loaded, and the first parameter is used to distinguish them.

For example, suppose I want to have translations for both normal French and "Canadian" French. Rather than maintain two entirely separate sets of pages, I could do:

    XLPage('fr-ca', 'PmWikiFrCa.XLPage');
    XLPage('fr', 'PmWikiFr.XLPage');

PmWikiFr.XLPage would contain all of the standard French translations, while PmWikiFrCA.XLPage would only need to contain "Canada-specific" translations -- i.e., those that are different from the ones in the French page.

The first parameter distinguishes the two sets of translations. In addition, a config.php script can use the $XLLangs variable to adjust the order of translation, so if there was a group or page where I only wanted the standard French translation, I can set

    $XLLangs = array('fr', 'en');

and PmWiki will use only the 'fr' and 'en' translations (in that order), no matter how many translations have been loaded with XLPage().

How can I add a translation for an individual string in a PHP file?

Use the XLSDV() function to provide a translation for a specific (English) string. For instance, with this in config.php

    XLSDV('nl', array('my English expression'=>'mijn Nederlandse uitdrukking'));

any instance of the variable expression $[my English expression] in wiki mark-up will be displayed as my English expression in default (English) context, but as mijn Nederlandse uitdrukking in Dutch (nl) context, i.e. when XLPage('nl',...) has been called for that page in config.php or a cookbook recipe.

If you need to get a translation in a PHP file, use the XL() function:

  $local_string = XL("my English expression");

But beware: XLPage() uses XLSDV() internally for its translation pairs, too, and only the first definition is accepted! Thus, if the Dutch XLPage already contains a translation and you want to override that, you need to use your XLSDV('nl',...) before calling the correspondent XLPage('nl',...). Otherwise, by using XLSDV() after XLPage() - e.g. within a recipe that is included later in config.php - your translation will only work as long nobody defines 'my English expression' in that XLPage.


This page may have a more recent version on pmwiki.org: PmWiki:Internationalizations, and a talk page: PmWiki:Internationalizations-Talk.

Edit - History - Print - Recent Changes - Search
Page last modified on November 17, 2019, at 08:45 PM