[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: google-translate
From: |
Emanuel Berg |
Subject: |
Re: google-translate |
Date: |
Fri, 18 Sep 2015 00:32:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Alex Kost <alezost@gmail.com> writes:
> Emanuel Berg (2015-09-16 06:01 +0300) wrote:
>
> (google-translate-translate "sv" "en" "bok")
> (google-translate-translate "sv" "da" "stuga")
> (google-translate-translate "sv" "de" "stuga")
OK, I looked this up! Let's see if I can it right
first try...
Now, if what is supposed to be used as inputs
(arguments) are the language codes that are among
other things in the Unix/C LC*/LANG* environmental
variables, then valid data with respect to language
input is defined in ISO-3166.
The Unix/C variables carry data with the following
syntax:
xx_YY.CHARSET
where
xx: language code (e.g., "en") according to ISO-3166
YY: country code (e.g., "FR") according to ISO-369
CHARSET: ASCII, UTF-8, or ISO-8859-1
[1, p. 317]
By the way, the domain of YY is the same as the list
of national, top-level domains ("se" -> ".se" etc.).
This can be included in the help and accompanied by
some examples. If the user sees the examples, even tho
he doesn't recognize their specific meaning
(i.e., what languages), probably he still knows *his*
locale and recognize that pattern and just add it.
Otherwise perhaps he would be benefited from an
ISO-3166 list to find out.
[2, pp. 25-26]
[1]
@book{practical-guide-to-linux,
author = {Mark Sobell},
title = {A Practical Guide to Linux},
publisher = {Prentice Hall},
edition = {3rd edition},
year = 2013,
ISBN = {0-13-308504-X}
}
[2]
@book{internet-message,
title = {The Internet Message: Closing the Book with Electronic Mail},
author = {Marshall Rose},
publisher = {Prentice-Hall},
year = 1993,
ISBN = {0-13-092941-7}
}
--
underground experts united
http://user.it.uu.se/~embe8573
- Is it possible to transform text before feeding it to ispell?, Marcin Borkowski, 2015/09/08
- Re: Is it possible to transform text before feeding it to ispell?, Alexis, 2015/09/08
- Re: Is it possible to transform text before feeding it to ispell?, Tassilo Horn, 2015/09/08
- google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Emanuel Berg, 2015/09/08
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Andrey Tykhonov, 2015/09/09
- Re: google-translate (was: Re: Is it possible to transform text before feeding it to ispell?), Emanuel Berg, 2015/09/09
- Re: google-translate, Emanuel Berg, 2015/09/15
- Re: google-translate, Alex Kost, 2015/09/16
- Re: google-translate, Emanuel Berg, 2015/09/16
- Re: google-translate,
Emanuel Berg <=
- Re: google-translate, Emanuel Berg, 2015/09/18
- Re: google-translate, Ian Zimmerman, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
- Re: google-translate, Emanuel Berg, 2015/09/19
Re: Is it possible to transform text before feeding it to ispell?, Michael Heerdegen, 2015/09/08
Re: Is it possible to transform text before feeding it to ispell?, Eli Zaretskii, 2015/09/08