$domain = str_ireplace("www.","",$_SERVER['SERVER_NAME']); if (stripos($domain, 'anarchistquotes.com') !== false ) { $site_language = "EN"; } if (stripos($domain, 'anarchistes.org') !== false ) { $site_language = "FR"; } if (stripos($domain, 'citas-anarquistas.com') !== false ) { $site_language = "ES"; } // ################################################################################################################################## // FRENCH LANGUAGE // ################################################################################################################################## if ( $site_language == "EN" ) { $twitter_account = "Anarchy_Quotes"; $lang['search_in'] = "Search in"; $lang['anarchist_quotes'] = "anarchist quotes"; $lang['quotes'] = "quotes"; $lang['quote'] = "quote"; $lang['quote_title_prefix'] = ""; $lang['quote_title_suffix'] = "Quote"; $lang['quote_of_the_day'] = "Quote Of The Day"; $lang['about_the_author'] = "About the author"; $lang['date_of_birth'] = "Date of Birth"; $lang['date_of_death'] = "Date of Death"; $lang['country_of_birth'] = "Country of Birth"; $lang['political_ideas'] = "Political Ideas"; $lang['share_this_with_friends'] = "Share this anarchist quote with your comrades!"; $lang['21th_century'] = "21th Century"; $lang['20th_century'] = "20th Century"; $lang['19th_century'] = "19th Century"; $lang['18th_century'] = "18th Century"; $lang['17th_century'] = "17th Century"; $lang['16th_century'] = "16th Century"; $lang['quotes_by'] = "Quotes by"; $lang['quote_character_open'] = "\""; $lang['quote_character_close'] = "\""; $lang['more_quotes_prefix'] = "View"; $lang['more_quotes_suffix'] = "more quotes by"; $lang['quotes_available'] = "Quotes Available"; $lang['number_of_quotes'] = "Number of quotes"; $lang['description'] = "Description"; $lang['author_name'] = "Author Name"; $lang['authors_list'] = "Authors List"; } if ( $site_language == "FR" ) { $twitter_account = "Anarchy_Quotes"; $lang['search_in'] = "Chercher parmi"; $lang['anarchist_quotes'] = "citations anarchistes"; $lang['quotes'] = "citations"; $lang['quote'] = "citation"; $lang['quote_title_prefix'] = "Citation De"; $lang['quote_title_suffix'] = ""; $lang['quote_of_the_day'] = "Citation Du Jour"; $lang['about_the_author'] = "Informations sur l'auteur(e)"; $lang['date_of_birth'] = "Date de Naissance"; $lang['date_of_death'] = "Date de Décès"; $lang['country_of_birth'] = "Pays d'Origine"; $lang['political_ideas'] = "Idéologies Politiques"; $lang['share_this_with_friends'] = "Partager cette citation anarchiste"; $lang['21th_century'] = "21e siècle"; $lang['20th_century'] = "20e siècle"; $lang['19th_century'] = "19e siècle"; $lang['18th_century'] = "18e siècle"; $lang['17th_century'] = "17e siècle"; $lang['16th_century'] = "16e siècle"; $lang['quotes_by'] = "Citations par"; $lang['quote_character_open'] = "« "; $lang['quote_character_close'] = " »"; $lang['more_quotes_prefix'] = "Afficher"; $lang['more_quotes_suffix'] = "citations de plus par"; $lang['quotes_available'] = "Citations Disponibles"; $lang['number_of_quotes'] = "Nombre de Citations"; $lang['description'] = "Description"; $lang['author_name'] = "Nom de l'Auteur"; $lang['authors_list'] = "Liste des Auteurs"; } if ($site_language == "ES") { $twitter_account = "CitasAnarquista"; $lang['search_in'] = "Busca entre"; $lang['anarchist_quotes'] = "citas anarquistas"; $lang['quotes'] = "citas"; $lang['quote'] = "cita"; $lang['quote_title_prefix'] = "Cita de"; $lang['quote_title_suffix'] = ""; $lang['quote_of_the_day'] = "Cita del día"; $lang['about_the_author'] = "Información sobre el autor"; $lang['date_of_birth'] = "Fecha de nacimiento"; $lang['date_of_death'] = "Fecha de Décès"; $lang['country_of_birth'] = "País de origen"; $lang['political_ideas'] = "Idéologías políticas"; $lang['share_this_with_friends'] = "Participar de esta cita anarquista"; $lang['21th_century'] = "Siglo 21"; $lang['20th_century'] = "Siglo 20"; $lang['19th_century'] = "Siglo 19"; $lang['18th_century'] = "Siglo 18"; $lang['17th_century'] = "Siglo 17"; $lang['16th_century'] = "Siglo 16"; $lang['quotes_by'] = "Citas de"; $lang['quote_character_open'] = "« "; $lang['quote_character_close'] = " »"; $lang['more_quotes_prefix'] = "Ver"; $lang['more_quotes_suffix'] = "citas más de"; $lang['quotes_available'] = "Citas Disponibles"; $lang['number_of_quotes'] = "Cantidad de citas"; $lang['description'] = "Descripción"; $lang['author_name'] = "Nombre del autor"; $lang['authors_list'] = "Lista de autores"; }
|