Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add languages #42

Merged
merged 1 commit into from
Oct 27, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/OpenSearchServer/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,26 @@ class Request
* Languages
*/
const LANG_UNDEFINED = 'UNDEFINED';
const LANG_FR = 'FRENCH';
const LANG_AR = 'ARABIC';
const LANG_ZH = 'CHINESE';
const LANG_DA = 'DANISH';
const LANG_NL = 'DUTCH';
const LANG_EN = 'ENGLISH';
const LANG_FI = 'FINNISH';
const LANG_FR = 'FRENCH';
const LANG_DE = 'GERMAN';
const LANG_HU = 'HUNGARIAN';
const LANG_IT = 'ITALIAN';
const LANG_JA = 'JAPANESE';
const LANG_KO = 'KOREAN';
const LANG_NO = 'NORWEGIAN';
const LANG_PL = 'POLISH';
const LANG_PT = 'PORTUGUESE';
const LANG_RO = 'ROMANIAN';
const LANG_RU = 'RUSSIAN';
const LANG_ES = 'SPANISH';
const LANG_SV = 'SWEDISH';
const LANG_TR = 'TURKISH';

/**
* Index templates names
Expand Down