Advertisement
corrosiontears

Configurando Locales para Português Brasil

Jun 9th, 2013
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.81 KB | None | 0 0
  1. Edite o arquivo /etc/default/locale:
  2.  
  3. sudo gedit /etc/default/locale
  4.  
  5. deixando-o agora com este novo conteúdo:
  6.  
  7. LANG="pt_BR.UTF-8"
  8. LANGUAGE="pt_BR.UTF-8"
  9. LC_MESSAGES="pt_BR.UTF-8"
  10. LC_CTYPE="pt_BR.UTF-8"
  11. LC_COLLATE="pt_BR.UTF-8"
  12. LC_ALL="pt_BR.UTF-8"
  13. LC_NUMERIC="pt_BR.UTF-8"
  14. LC_TIME="pt_BR.UTF-8"
  15. LC_MONETARY="pt_BR.UTF-8"
  16. LC_PAPER="pt_BR.UTF-8"
  17. LC_NAME="pt_BR.UTF-8"
  18. LC_ADDRESS="pt_BR.UTF-8"
  19. LC_TELEPHONE="pt_BR.UTF-8"
  20. LC_MEASUREMENT="pt_BR.UTF-8"
  21. LC_IDENTIFICATION="pt_BR.UTF-8"
  22.  
  23. Agora edite os arquivos local e pt:
  24.  
  25. sudo gedit /var/lib/locales/supported.d/local
  26. sudo gedit /var/lib/locales/supported.d/pt
  27.  
  28. Deixando com o conteúdo abaixo, apagando o restante:
  29.  
  30. pt_BR.UTF-8 UTF-8
  31.  
  32. Reconfigure o locales da forma padrão, e depois é necessário reiniciar o micro:
  33.  
  34. sudo dpkg-reconfigure locales
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement