Revision [1625]

This is an old revision of WikkaGettext made by JordaPolo on 2004-10-04 19:15:54.

 

The gettext support only requires some minor code changes (3 lines of code).

Jobs
  1. gettext support -- done
  1. different domains (wikka and wikka-setup) -- done
  1. locale selection from the installer -- done
  1. script to update po files -- done
  1. make strings translatable -- 123 strings so far

Status
Available translations

FAQ
How to make strings translatable with gettext?
It is simple, just use the _() or gettext() function.

Example (simple):
<?php
    print(_("Hello Wikka!"));
?>

Example (formatted):
<?php
    $here = $this->Format('[[PasswordForgotten '._("here").']]');
    printf(_("If you need a temporary password, click %s."), $here);
?>


CategoryDevelopment
There are 30 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki