Difference between pages "Pt-br/Funtoo Linux Localization" and "Install/fr/Intro"

(Difference between pages)
(Definir Idioma Padrão)
 
m (Améliorer la traduction)
 
Line 1: Line 1:
== Definir Idioma Padrão ==
+
<noinclude>
 +
{{InstallPart|texte d'introduction}}
 +
</noinclude>
 +
= Installation de Funtoo Linux =
 +
__NOTITLE__
 +
== Introduction ==
 +
{{Warning|Ce document peut contenir des liens vers des pages en Anglais. }}
  
No Funtoo, há dois arquivos de configuração responsáveis suas configurações de idioma: <code>/etc/locale.gen</code> e <code>/etc/env.d/00basic</code>. O primeiro arquivo contém somente en_US.UTF-8 locale habilitado. O ultimo é um arquivo padrão embarcado que vem a partir do stage3 e responsável pelo en_US.UTF-8 locale system-wide. não recomendado editar.
+
Ce document a été rédigé afin de vous aider à installer Funtoo Linux sur un PC compatible. Ce tutoriel se veut le plus simple et minimaliste possible afin que le système d'exploitation Funtoo Linux soit installé et opérationnel le plus rapidement possible et sans trop de difficulté.
Os passos a seguir lhe guiarão através do processo de editar o idioma padrão do sistema (default system language), utilizando o francês canadense como um exemplo.
+
Primeiro você terá que editar <code>/etc/locale.gen</code>:
+
<console>
+
# ##i##nano -w /etc/locale.gen
+
</console>
+
Especifique sua localidade preferida com o formato de caracter acompanhante (Você vai preferir principalmente UTF-8):
+
{{fancynote|It is recommended to keep the preconfigured en_US.UTF-8 locale as a fallback.}}
+
{{file|name=/etc/locale.gen|body=
+
en_US.UTF-8 UTF-8
+
fr_CA.UTF-8 UTF-8
+
}}
+
To determine an appropriate locale for your system, you should take a look into <code>/usr/share/i18n/SUPPORTED</code> for the default list of supported combinations or check the <code>/usr/share/i18n/locales/</code> directory for a list of valid values.
+
{{fancywarning|You are strongly advised to use ''at least one'' UTF-8 locale since some applications may require it.}}
+
  
Now, those locales need to be generated:
+
Si vous possèdez quelconque expérience avec l'installation de Gentoo Linux, plusieurs étapes vous seront familières. Vous devriez consulter tout le guide car il y a quelques différences.
<console>
+
# ##i##locale-gen
+
##g##*##!g## Generating 2 locales (this might take a while) with 1 jobs
+
*  (1/2) Generating en_US.UTF-8 ... [ ok ]
+
*  (2/2) Generating fr_CA.UTF-8 ... [ ok ]
+
##g##*##!g## Generation complete
+
</console>
+
  
Once done, you can apply your locale settings system-wide. First display all available options:
+
{{Note|Si vous installez Funtoo Linux sur une architecture [[Funtoo Linux Installation on ARM|ARM]], s'il vous plaît consulter [[Funtoo Linux Installation on ARM]] car il y a des différences notables concernant le support ARM. }}
<console>
+
$ ##i##eselect locale list
+
##b####g##Available targets for the LANG variable:
+
  ##b##[1]##!b##  C
+
  ##b##[2]##!b##  POSIX
+
  ##b##[3]##!b##  fr_CA.utf8
+
  ##b##[4]##!b##  en_US.utf8 ##bl##*
+
  ##b##[ ]##!b##  (free form)
+
</console>
+
The blue star indicates the current default system locale. You can now change it according your wishes:
+
<console>
+
# ##i##eselect locale set 3
+
Setting LANG to fr_CA.utf8 ...
+
Run ". /etc/profile" to update the variable in your shell.
+
</console>
+
Alternatively, you can set the default locale manually. This file should be created first with your prefered editor:
+
{{file|name=/etc/env.d/02locale|body=LANG="fr_CA.utf8"}}
+
You can verify your actions using:
+
<console>
+
$ ##i##eselect locale show
+
##b####g##LANG variable in profile:
+
  ##b##fr_CA.utf8
+
</console>
+
 
+
For an immediate effect it is required to reload the environment:
+
<console>
+
# ##i##env-update && source /etc/profile
+
>>> Regenerating /etc/ld.so.cache...
+
</console>
+
Congratulations! You have successfully set up your default language on Funtoo.
+
 
+
== Portage Settings ==
+
 
+
Portage uses a special variable <code>LINGUAS</code> that defines what localizations/translations get installed by default. By default, <code>LINGUAS</code> in unset, which will result in ''all'' available localizations being installed by Portage.
+
 
+
It is possible to customize the setting of <code>LINGUAS</code> by setting it in <code>/etc/make.conf</code>:
+
 
+
<console>
+
# ##i##LINGUAS="en_US zh_CN"
+
</console>
+
 
+
The <code>LINGUAS</code> variable should use spaces between each localization name.
+
== Read Your Language ==
+
 
+
A newly installed Funtoo Linux does not able to read all the languages. You want to read the stuff, say, in Mozilla Firefox. You need to install fonts - A good sign that you have not installed the proper fonts is that the following characters appear as boxes with numbers inside: 日本語フォント
+
 
+
Check if you have your language installed (Chinese) by using the <tt>fc-list</tt> command from the <tt>media-libs/fontconfig</tt> ebuild:
+
 
+
<console>
+
# ##i##fc-list :lang=zh
+
</console>
+
 
+
If you are lucky, the right font will be installed, and your apps will also be able to use Chinese as the default language. But in case you not have the right font installed in this way, you need to install them manually.
+
 
+
For Japanese:
+
 
+
<console>
+
# ##i##emerge media-fonts/kochi-substitute
+
</console>
+
 
+
For Chinese:
+
<console>
+
# ##i##emerge media-fonts/arphicfonts
+
</console>
+
 
+
For Korean:
+
 
+
<console>
+
# ##i##emerge media-fonts/baekmuk-fonts
+
</console>
+
== Keymap ==
+
 
+
Funtoo Linux defaults to a US English keyboard. If you are using another type of keyboard, edit <tt>/etc/conf.d/keymaps</tt> and set keymap to your keyboard model. For example, cf for French Canadian keyboard, fr for French Azerty.
+
 
+
<console>
+
# ##i##nano -w /etc/conf.d/keymaps
+
</console>
+
== Input Method ==
+
 
+
ibus is an Intelligent Input Bus for Linux.
+
 
+
<console>
+
# ##i##emerge -av ibus
+
</console>
+
 
+
You also need to install language table for ibus (Chinese)
+
 
+
<console>
+
# ##i##emerge -av ibus-table-chinese
+
</console>
+
 
+
[[Category:Install|Localization]]
+

Latest revision as of 19:48, February 3, 2015


Note

This is a template that is used as part of the Installation instructions which covers: texte d'introduction. Templates are being used to allow multiple variant install guides that use most of the same re-usable parts.


Installation de Funtoo Linux

Introduction

Warning

Ce document peut contenir des liens vers des pages en Anglais.

Ce document a été rédigé afin de vous aider à installer Funtoo Linux sur un PC compatible. Ce tutoriel se veut le plus simple et minimaliste possible afin que le système d'exploitation Funtoo Linux soit installé et opérationnel le plus rapidement possible et sans trop de difficulté.

Si vous possèdez quelconque expérience avec l'installation de Gentoo Linux, plusieurs étapes vous seront familières. Vous devriez consulter tout le guide car il y a quelques différences.

Note

Si vous installez Funtoo Linux sur une architecture ARM, s'il vous plaît consulter Funtoo Linux Installation on ARM car il y a des différences notables concernant le support ARM.