array( 'dir' => 'ltr', 'tld' => 'io', 'title' => 'Your hosting package is ready!', 'managed_hosting' => 'Managed WordPress Hosting', 'hosting_package_ready' => 'Your hosting package is ready!', 'interesting_what_you_build' => 'I wonder what you\'ll build here.', 'need_help' => 'Need help?', 'wp_install_in_click' => 'One-Click WordPress installation', 'migration_service' => 'Website transfer from previuse server', 'knowledgebase' => 'Knowledgebase', ), 'he' => array( 'dir' => 'rtl', 'tld' => 'co.il', 'title' => 'חבילת האחסון שלך מוכנה!', 'managed_hosting' => 'אחסון וורדפרס מנוהל', 'hosting_package_ready' => 'חבילת האחסון שלך מוכנה!', 'interesting_what_you_build' => 'מעניין מה תבנה כאן.', 'need_help' => 'צריך עזרה?', 'wp_install_in_click' => 'התקנת וורדפרס בקליק', 'migration_service' => 'שירות העברת אתר משרת קודם', 'knowledgebase' => 'מרכז מידע', ) ); $langs = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? array_map(function($l) { return preg_replace('/^(.+?);.+?$/', '$1', $l); }, explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE'])) : array('en'); $lang = in_array('he', $langs) || in_array('he-IL', $langs) ? 'he' : 'en'; $strings = $strings[$lang]; ?>