Per Tunedal <[email protected]> writes: > Hi, > my list of locals: > > C > POSIX > sv_SE.UTF-8 > > Do I need something for the other languages like Spanish and French? > How do I create that?
Any UTF-8 locale should do. Does $ echo "J'ai deux frères" | LANG="sv_SE.UTF-8" apertium fr-es not work either? -Kevin > On Thu, May 10, 2012, at 09:30, Kevin Brubeck Unhammer wrote: >> Per Tunedal <[email protected]> >> writes: > --snip-- >> > >> > 1. special characters aren't recognised >> > >> > eg. the example "echo "J'ai deux frères" | apertium fr-es gives an error >> > on "frères". >> >> I think you just need to set a UTF-8 locale, put e.g. >> >> export LANG=sv_SE.UTF-8 >> >> in your ~/.bashrc or any scripts that run apertium. >> >> The command >> >> $ locale -a >> >> should give you a list of locales, if you don't have any UTF-8 ones, >> you can do e.g. >> >> $ echo "sv_SE.UTF-8 UTF-8" | sudo tee -a >> /var/lib/locales/supported.d/local >> $ sudo dpkg-reconfigure locales >> > --snip-- >> >> >> -Kevin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
