gtranslator languages list



Some of you might remember, there's a languages.h header file
 for gtranslator which lists up the language groups; this header
  file is emminently important for gtranslator so that there should
   be as many languages inside it as possible and the existing
    entries should be really up-to-date.

The current header file from CVS is attached; if you want to do
 updates, additions or corrections and have r/w CVS access your
  corrections should go directly into CVS into
   "gtranslator/src/languages.h" -- please don't forget to add
     a ChangeLog entries in this case..
-- 
kabalak / kabalak@kabalak.net / Fatih Demir
`-GNOME / ICQ:64241161 / GSM: +491749787080
 `-Editor / vim
  `-Filemanager / VFU
/*
 * (C) 2000-2001 	Fatih Demir <kabalak@gtranslator.org>
 *
 * gtranslator is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or   
 *    (at your option) any later version.
 *    
 * gtranslator is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 *    GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */

#ifndef GTR_LANGUAGES_H
#define GTR_LANGUAGES_H 1

#include <glib.h>
#include <libgnome/gnome-i18n.h>

/*
 * The language structure with all the essential data for gtranslator: 
 */
typedef struct {
	/*
	 * 1 - The name of the language 
	 */
	gchar *name;
	
	/*
	 * 2 - The language-code 
	 */
	gchar *lcode;
	
	/*
	 * 3 - The encoding preferably used for this language 
	 */
	gchar *enc;
	
	/* 
	 * 4 - The group's( at LI/somewhere else ) EMail for the language 
	 */
	gchar *group;
	
	/*
	 * 5 - The transfer bit count for the language 
	 */
	gchar *bits;
} GtrLanguage;

/*
 * Nothing changed here, besides that we've switched to the structure
 *  instead of the gchar*-array ..
 *
 * NOTE : I had to use the N() macro as the table must be constant ...
 *	  but in the Prefs-box and in the other places where they appear 
 *	   translated because of a gettext(S)-call ...
 */
static GtrLanguage languages[] = {
	{
	 N_("Afrikaans"), "af", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Arabic"), "ar", "iso-8859-6",
	 "", "8bit"		
	},
	{
	 N_("Azerbaijani Turkish"), "az", "utf-8",
	 "", "8bit"		
	},
	{
	 N_("Basque"), "eu", "iso-8859-1",
	 "linux-eu@chanae.alphanet.ch", "8bit"		
	},
	{
	 N_("Bielorussian"), "be", "windows-1251",
	 "", "8bit"		
	},
	{
	 N_("Britton"), "br", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Bulgarian"), "bg", "windows-1251",
	 "bg@li.org", "8bit"		
	},
	{
	 N_("Catalan"), "ca", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Chinese/Simplified"), "zh_CN.GB2312", "GB2312",
	 "cn@linux-mandrake.com", "8bit"		
	},
	{
	 N_("Chinese/Traditional"), "zh_TW.BIG5", "BIG5",
	 "zh@li.org", "8bit"		
	},
	{
	 N_("Croatian"), "hr", "iso-8859-2",
	 "lokalizacija@linux.hr", "8bit"		
	},
	{
	 N_("Czech"), "cs", "iso-8859-2",
	 "cs@li.org", "8bit"		
	},
	{
	 N_("Danish"), "da", "iso-8859-1",
	 "da@li.org", "8bit"		
	},
	{
	 N_("Dutch"), "nl", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("English"), "en", "iso-8859-1",
	 "en@li.org", "8bit"		
	},
	{
	 N_("English/Canada"), "en_CA", "iso-8859-1",
	 "en@li.org", "8bit"		
	},
	{
	 N_("English/GB"), "en_GB", "iso-8859-1",
	 "en@li.org", "8bit"		
	},
	{
	 N_("English/USA"), "en", "iso-8859-1",
	 "en@li.org", "8bit"		
	},
	{
	 N_("Estonian"), "et", "iso-8859-15",
	 "et@li.org", "8bit"		
	},
	{
	 N_("Farsi"), "fa", "isiri-3342",
	 "", "8bit"		
	},
	{
	 N_("Finnish"), "fi", "iso-8859-15",
	 "fi@li.org", "8bit"		
	},
	{
	 N_("French"), "fr", "iso-8859-1",
	 "fr@li.org", "8bit"		
	},
	{
	 N_("Galician"), "gl", "iso-8859-1",
	 "trasno@ceu.fi.udc.es", "8bit"		
	},
	{
	 N_("German"), "de", "iso-8859-1",
	 "gnome-de@gnome.org", "8bit"		
	},
	{
	 N_("Greek"), "el", "iso-8859-7",
	 "nls@tux.hellug.gr", "8bit"		
	},
	{
	 N_("Hungarian"), "hu", "iso-8859-2",
	 "", "8bit"		
	},
	{
	 N_("Indonesian"), "id", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Italian"), "it", "iso-8859-1",
	 "it@li.org", "8bit"		
	},
	{
	 N_("Irish"), "ga", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Japanese"), "ja", "euc-jp",
	 "translation@gnome.gr.jp", "8bit"		
	},
	{
	 N_("Korean"), "ko", "euc-kr",
	 "", "8bit"		
	},
	{
	 N_("Latvian"), "lv", "iso-8859-13",
	 "", "8bit"		
	},
	{
	 N_("Lithuanian"), "lt", "iso-8859-13",
	 "komp_lt@konferencijos.lt", "8bit"		
	},
	{
	 N_("Norwegian/Bokmaal"), "no", "iso-8859-1",
	 "no@li.org", "8bit"		
	},
	{
	 N_("Norwegian/Nynorsk"), "nn", "iso-8859-1",
	 "no@li.org", "8bit"		
	},
	{
	 N_("Polish"), "pl", "iso-8859-2",
	 "gnomepl@pandora.info.bielsko.pl", "8bit"		
	},
	{
	 N_("Portuguese"), "pt", "iso-8859-1",
	 "pt@li.org", "8bit"		
	},
	{
	 N_("Portuguese/Brazil"), "pt_BR", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Romanian"), "ro", "iso-8859-2",
	 "", "8bit"		
	},
	{
	 N_("Russian"), "ru", "koi8-r",
	 "ru@li.org", "8bit"		
	},
	{
	 N_("Serbian/Cyrillic"), "sp", "iso-8859-5",
	 "", "8bit"		
	},
	{
	 N_("Serbian/Latin"), "sr", "iso-8859-2",
	 "", "8bit"		
	},
	{
	 N_("Slovakian"), "sk", "iso-8859-2",
	 "", "8bit"		
	},
	{
	 N_("Slovenian"), "sl", "iso-8859-2",
	 "", "8bit"		
	},
	{
	 N_("Spanish"), "es", "iso-8859-1",
	 "es@li.org", "8bit"		
	},
	{
	 N_("Spanish/Spain"), "es_ES", "iso-8859-1",
	 "es@li.org", "8bit"		
	},
	{
	 N_("Spanish/Mexico"), "es_MX", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Swedish"), "sv", "iso-8859-1",
	 "sv@li.org", "8bit"		
	},
	{
	 N_("Tamil"), "ta", "tscii",
	 "", "8bit"		
	},
	{
	 N_("Thai"), "th", "tis-620",
	 "", "8bit"		
	},
	{
	 N_("Turkish"), "tr", "iso-8859-9",
	 "gnome-turk@gnome.org", "8bit"	
	},
	{
	 N_("Ukrainian"), "uk", "koi8-u",
	 "linux@linux.org.ua", "8bit"		
	},
	{
	 N_("Uzbekian"), "uz", "iso-8859-1",
	 "", "8bit"		
	},
	{
	 N_("Vietnamese"), "vi", "tcvn-5712",
	 "", "8bit"		
	},
	{
	 N_("Walloon"), "wa", "iso-8859-1",
	 "linux-wa@chanae.alphanet.ch", "8bit"		
	},
	{
	 N_("Welsh"), "cy", "iso-8859-14",
	 "", "8bit"		
	},
	/*
         * This structures-list has to be NULL-terminated
         */
	{
	 NULL, NULL, NULL,
	 NULL, NULL
	}
};

#endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]