# cedilla-portuguese.sh (c) 2015 Canonical # Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com> # # Released under the GPL # # File: /etc/profile.d/cedilla-portuguese.sh # # The desired behavior when typing in certain languages is that # '+c results in the ç character, and not ć. In Portuguese this # can be achieved by setting LC_CTYPE to either pt_BR.UTF-8 or # pt_PT.UTF-8. Related files: # /usr/share/X11/locale/pt_BR.UTF-8/Compose # /usr/share/X11/locale/pt_PT.UTF-8/Compose # # When the selected display language is Portuguese (either Brazilian # Portuguese or Portuguese as spoken in Portugal), LC_CTYPE inherits # the desired value from LANG. Due to this file, setting the Regional # Formats value to Portuguese (Brazil) or Portuguese (Portugal) is # sufficient to enable the just mentioned behavior, even if the # display language is something else but Portuguese. # if [ "${LC_IDENTIFICATION%_*}" = 'pt' -a "${LANG%_*}" != 'pt' ]; then export LC_CTYPE="${LC_IDENTIFICATION%.*}.UTF-8" fi
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
01-locale-fix.sh | File | 96 B | 0644 |
|
Z97-byobu.sh | File | 1.52 KB | 0644 |
|
Z99-cloud-locale-test.sh | File | 3.34 KB | 0755 |
|
Z99-cloudinit-warnings.sh | File | 873 B | 0755 |
|
apps-bin-path.sh | File | 835 B | 0644 |
|
bash_completion.sh | File | 664 B | 0644 |
|
cedilla-portuguese.sh | File | 1003 B | 0644 |
|
vte-2.91.sh | File | 1.9 KB | 0644 |
|