missing locales
2024-09-21 20:45:27
原文地址:http://codewut.de/content/missing-locales-under-debian
This drives me crazy! Every time I debootstrap a debian or ubuntu machine the resulting root system will lack properly set up locales. dpkg-reconfigure locales & derivates won't help since the system does not know what locales it should generate - and for some reason it does not show that nice ncurses UI where you were able to pick the locales you would like to have the support for.
So, there goes another blog entry which should act as my personal notepad for future accidents like this:
- root@baracus:# cat /usr/share/i18n/SUPPORTED | egrep en_US > /var/lib/locales/supported.d/en
- root@baracus:# cat /usr/share/i18n/SUPPORTED | egrep de_DE > /var/lib/locales/supported.d/de
- root@baracus:# locale-gen
- Generating locales...
- de_DE.ISO-8859-1... up-to-date
- de_DE.UTF-8... up-to-date
- de_DE.ISO-8859-15@euro... up-to-date
- en_US.ISO-8859-1... done
- en_US.UTF-8... done
- Generation complete.
P.S.
You might need to reinstall the locales package afterwards:
- sudo apt-get install --reinstall locales
- export LANG="de_DE.utf8"
- YAY!
最新文章
- mysql 使用存储过程批量插数据
- PAT 1026. 程序运行时间(15)
- alv中编辑的时候quan字段小数位数被截取掉
- [AX2012 R3]在SSRS报表中使用QR二维码
- peak num
- spring相关资源
- mybatis insert前获取要插入的值
- Linux命令 find和mv的结合使用:查找文件,移动到某个目录
- SQL技术内幕-5 比较特殊 insert into 数据的写法
- PHP-xml-1
- php5.6解决curl扩展不生效的问题
- javascript中数据类型转换
- UI控件库
- Java线程:条件变量、原子量、线程池等
- 安卓高级9 用原生intent分享
- 从壹开始微服务 [ DDD ] 之二 ║ DDD入门 &; 项目结构粗搭建
- 上次被人说TK不好咯,这次给你整个高大上的
- [转]python3之paramiko模块(基于ssh连接进行远程登录服务器执行命令和上传下载文件的功能)
- jquery改变字符串中部分字符的颜色
- PKUWC2018 5/6