1--TEST--
2Gettext basic test
3--SKIPIF--
4<?php
5	if (!extension_loaded("gettext")) {
6		die("skip\n");
7	}
8	if (!setlocale(LC_ALL, 'fi_FI')) {
9		die("skip fi_FI locale not supported.");
10	}
11?>
12--FILE--
13<?php // $Id$
14
15chdir(dirname(__FILE__));
16setlocale(LC_ALL, 'fi_FI');
17bindtextdomain ("messages", "./locale");
18textdomain ("messages");
19echo gettext("Basic test"), "\n";
20echo _("Basic test"), "\n";
21
22?>
23--EXPECT--
24Perustesti
25Perustesti
26