Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
idnlang.conf(5)		      File Formats Manual	       idnlang.conf(5)

NAME
       idnlang.conf - language alias file for idnkit

SYNOPSIS
       /usr/local/etc/idnlang.conf

DESCRIPTION
       The idnlang.conf	file defines aliases of	language names.	 It is located
       on  /usr/local/etc/idnlang.conf	and  always  loaded  automatically  as
       idn2.conf and .idn2rc.  The aliases in this file	can be	used  just  as
       the real	names.

       As  described  in  idn2.conf(5),	 idnkit	 has a configuration parameter
       named ``current language''.  Unless the current language	 is  specified
       by  the ``language'' entry in the idnkit	configuration file, the	idnkit
       library guesses the current language from  locale  information  at  run
       time.   The  idnkit library assumes the language	name is	an ISO639 lan-
       guage code (e.g.	``en''), but the language name taken from  locale  in-
       formation  may  not be (e.g. ``English'').  Using idnlang.conf, you can
       avoid the trouble.

       The alias file is a simple text file, consisting	of lines  (other  than
       comment lines, which begin with ``#'', and empty	lines) of the form:

	   alias-name real-name

       where  alias-name  is an	alias name to be defined, and real-name	is its
       real name.

SAMPLE FILE
       The following shows a sample idnlang.conf file.

	   #
	   # idnlang.conf sample.
	   #
	   Azeri	  ar
	   Lithuanian	  lt
	   Turkish	  tr

FILES
       /usr/local/etc/idnlang.conf

SEE ALSO
       idncheck(1),  idncmp(1),	 idnconv2(1),  iconv(3),   idn_setlanguage(3),
       idn2.conf(5), idnalias.conf(5)

				 Sep 21, 2012		       idnlang.conf(5)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=idnlang.conf&sektion=5&manpath=FreeBSD+Ports+15.0>

home | help