xref: /web-php/include/languages.inc (revision cdf59074)
1<?php
2/**
3 * This file is deprecated, and it exists for backward compatibility purposes only.
4 * It must be kept in sync with {@see \phpweb\I18n\Languages}.
5 */
6
7$LANGUAGES = [
8    'en' => 'English',
9    'de' => 'German',
10    'es' => 'Spanish',
11    'fr' => 'French',
12    'it' => 'Italian',
13    'ja' => 'Japanese',
14    'pl' => 'Polish',
15    'pt_BR' => 'Brazilian Portuguese',
16    'ro' => 'Romanian',
17    'ru' => 'Russian',
18    'tr' => 'Turkish',
19    'uk' => 'Ukrainian',
20    'zh' => 'Chinese (Simplified)',
21];
22
23$INACTIVE_ONLINE_LANGUAGES = [
24    'pl' => 'Polish',
25    'ro' => 'Romanian',
26];
27
28$ACTIVE_ONLINE_LANGUAGES = array_diff($LANGUAGES, $INACTIVE_ONLINE_LANGUAGES);
29