polish locale for ubuntu terminals

I’d like to describe how simple way to configure polish characters/locale inside terminal.

  • open terminal
  • generate /var/lib/locales/supported.d/local from /usr/share/i18n/SUPPORTED:
  • cat /usr/share/i18n/SUPPORTED | grep "en\|pl" > /var/lib/locales/supported.d/local

    This example shows all polish and english localization. You can find appropriate inside /usr/share/i18n/SUPPORTED file. If you choose add them to list.

  • generate all localizations
  • dpkg-reconfigure locales

  • choose your locale:
  • update-locale LANG=pl_PL.ISO-8859-2

    In this step you choose langauge of your system and terminal.

  • You can check variables by writing:
  • locale

    Advertisements