Não é muito difícil, Pedro.
I take it you have already emerged myspell-pt? If not, you need to do it. For spell checking, check if you have installed the package eselect-oodict and try:
# eselect oodict list
to show what language codes are installed, and then e.g.:
# eselect oodict set myspell-pt
Here is what it looks like on my PC:
- Code: Select all
localhost fitzcarraldo # eselect oodict list
Installed dictionary sources that can be set:
[1] myspell
Installed language codes:
en es fr pt
localhost fitzcarraldo # eselect oodict set myspell-pt
localhost fitzcarraldo #
I also recommend that you study the Gentoo localization guide (you can add a Portuguese locale and still keep the English one too):
http://www.gentoo.org/doc/en/guide-localization.xmlThen, add the "nls" (native language support) global USE flag to your /etc/make.conf if you don't have it there already. Not all applications provide native language support, but several do (if they are compiled with the nls USE flag).
By the way, if you look in /etc/portage/package.use you can add the Portuguese language local USE flag for OpenOffice if you want to change the GUI to Portuguese. Here's what the entry in my /etc/portage/package.use looks like:
- Code: Select all
app-office/openoffice -linguas_af -linguas_ar -linguas_bg -linguas_bn -linguas_bs -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_el -linguas_et -linguas_fa -linguas_fi -linguas_gu_IN -linguas_he -linguas_hr -linguas_hu -linguas_ja -linguas_km -linguas_ko -linguas_lt -linguas_lv -linguas_mk -linguas_nb -linguas_nn -linguas_pl -linguas_pt -linguas_pt_BR -linguas_rw -linguas_sk -linguas_sl -linguas_sv -linguas_tg -linguas_tr -linguas_vi -linguas_zh_TW sound
So you could change "-linguas_pt" to "linguas_pt" if you wanted to, and recompile openoffice (which takes 6+ hours!) or, alternatively, emerge openoffice-bin which is much faster (but then you'd need to have e.g. app-office/openoffice-bin linguas_pt instead).