[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Name for the language in translation lists
From: |
Ineiev |
Subject: |
Re: Name for the language in translation lists |
Date: |
Wed, 11 Mar 2020 18:54:52 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Hello, Rafael;
On Tue, Mar 10, 2020 at 08:06:10PM -0300, Rafael Fontenelle wrote:
>
> Do you have a char limit in mind?
No hard limit; currently the median length (with the language code)
is 12 characters; the full list sorted by length can be produced
(in a UTF-8 locale) like
wget -o /dev/null -O - https://www.gnu.org/server/gnun/languages.txt \
| sed '/#/d;/srpsko-hrvatski/d;s,\t.*\t,] ,;s,^,[,' \
| while read l; do cnt=`echo -n "$l"|wc -m`; echo $cnt "$l";done \
| sort -n
> Ideas that I can think of:
>
> português (Brasil)
> português (BR)
> port. brasil. *
> português **
> Brasil ***
>
> * abbreviation from http://www.academia.org.br/nossa-lingua/reducoes
> ** considering that there is a "[pt-br]" next to it
Yes, [pt-br] will be included.
signature.asc
Description: PGP signature
Re: Name for the language in translation lists,
Ineiev <=