PHP Class Pommo_Helper_L10n, poMMo

This file is part of poMMo (http://www.pommo.org) poMMo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or any later version. poMMo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with program; see the file docs/LICENSE. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Datei anzeigen Open project: soonick/poMMo Class Usage Examples

Public Methods

Method Description
_setlocale ( $category, $locale, $baseDir ) setlocale modified from from Gallery2
_setlocaleEmu ( $category, $locale, $baseDir )
init ( $language, $baseDir )
translate ( $msg )
translatePlural ( $msg, $plural, $count )

Method Details

_setlocale() public static method

setlocale modified from from Gallery2
public static _setlocale ( $category, $locale, $baseDir )

_setlocaleEmu() public method

public _setlocaleEmu ( $category, $locale, $baseDir )

init() public static method

public static init ( $language, $baseDir )

translate() public static method

public static translate ( $msg )

translatePlural() public method

public translatePlural ( $msg, $plural, $count )