Documentation traducteur: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
== Traduire Dolibarr dans une autre langue ==
== Traduire Dolibarr dans une autre langue ==
Dolibarr est par d?faut d?velopp? en Fran?ais.
Dolibarr est par d馡ut d鶥lopp頥n Fran硩s.




* Traduction manuelle
* Traduction manuelle


Pour traduire Dolibarr dans une autre langue, il faut aller dans le r?pertoire langs et cr?er un r?pertoire ayant pour nom le code langue ? traduire (En suivant le m?me format que ceux d?j? existant, par exemple en_US, fr_FR, es_ES, de_DE, etc...).
Pour traduire Dolibarr dans une autre langue, il faut aller dans le r鰥rtoire langs et cr饲 un r鰥rtoire ayant pour nom le code langue ࠴raduire (En suivant le mꭥ format que ceux d骠 existant, par exemple en_US, fr_FR, es_ES, de_DE, etc...).
Il faut ensuite recopier les fichiers lang depuis un r?pertoire d?j? traduit (par exemple en_US/main.lang ou fr_FR/bills.lang), les recopier dans le r?pertoire de la nouvelle langue que l'on vient de cr?er et traduire le contenu de ces fichiers.
Il faut ensuite recopier les fichiers lang depuis un r鰥rtoire d骠 traduit (par exemple en_US/main.lang ou fr_FR/bills.lang), les recopier dans le r鰥rtoire de la nouvelle langue que l'on vient de cr饲 et traduire le contenu de ces fichiers.


Ces fichiers sont constitu?s de la mani?re suivante:
Ces fichiers sont constitu鳠de la mani貥 suivante:


Code1=Phrases ? traduire 1
Code1=Phrases ࠴raduire 1


Code2=Phrases ? traduire 2
Code2=Phrases ࠴raduire 2


...
...


Coden=Phrases ? traduire n
Coden=Phrases ࠴raduire n


Seules les phrases ? droite du = sont ? traduire, le code doit rester inchang?.
Seules les phrases ࠤroite du = sont ࠴raduire, le code doit rester inchang鮊Il est possible de traduire les fichiers un par un, sans tous les traduire d'un coup. Si un fichier n'a pas 鴩 traduit dans la nouvelle langue, Dolibarr utilisera l'Anglais.
Il est possible de traduire les fichiers un par un, sans tous les traduire d'un coup. Si un fichier n'a pas ?t? traduit dans la nouvelle langue, Dolibarr utilisera l'Anglais.




Notons que, pour l'instant, il reste de nombreuses phrases en dur dans le code des pages PHP. Ces derni?res doivent etre remplac?es par le code suivant:
Notons que, pour l'instant, il reste de nombreuses phrases en dur dans le code des pages PHP. Ces derni貥s doivent etre remplac饳 par le code suivant:


$langs->trans("CodeX")
$langs->trans("CodeX")


Et une entr?e du type
Et une entr饠du type


CodeX=Phrase X
CodeX=Phrase X


doit etre ajout?e aux fichiers .lang
doit etre ajout饠aux fichiers .lang




Line 36: Line 35:


Des outils libre pour aider les traductions existent, comme [http://initranslator.sf.net iniTranslator] (sous Windows).
Des outils libre pour aider les traductions existent, comme [http://initranslator.sf.net iniTranslator] (sous Windows).
Lancer votre application de traduction qui vous demandera le fichier mod?le. Choisir le fichier dans le r?pertoire htdocs/langs/en_EN ou htdocs/langs/fr_FR, qui sont ? jour. Puis choisissez ?ventuellement le fichier destination, dans le r?pertoire htdocs/langs/xx_XX ou xx est le code langue ? traduire.
Lancer votre application de traduction qui vous demandera le fichier mod謥. Choisir le fichier dans le r鰥rtoire htdocs/langs/en_EN ou htdocs/langs/fr_FR, qui sont ࠪour. Puis choisissez 鶥ntuellement le fichier destination, dans le r鰥rtoire htdocs/langs/xx_XX ou xx est le code langue ࠴raduire.
Votre outils affichera les 2 fichiers face ? face avec les chaines ? traduire manquante. Compl?ter puis sauvegarder le nouveau fichier destination.
Votre outils affichera les 2 fichiers face ࠦace avec les chaines ࠴raduire manquante. Compl鴥r puis sauvegarder le nouveau fichier destination.


== Int?grer sa traduction dans Dolibarr ==
== Int駲er sa traduction dans Dolibarr ==


Si vous avez compl?ter des fichiers .lang incomplets ou cr?es des nouveaux pour une nouvelle langue, vous pouvez :
Si vous avez compl鴥r des fichiers .lang incomplets ou cr饳 des nouveaux pour une nouvelle langue, vous pouvez :
* Soit demander un acc?s CVS afin de commiter vous m?me vos modifications
* Soit demander un acc賠CVS afin de commiter vous mꭥ vos modifications
* Soit envoyer vos fichiers .lang par mail en pi?ce jointe sur la liste: dolibarr-dev@nongnu.org. Un d?veloppeur les int?grera pour vous.
* Soit envoyer vos fichiers .lang par mail en pi裥 jointe sur la liste: dolibarr-dev@nongnu.org. Un d鶥loppeur les int觲era pour vous.




<div style="overflow:auto; height: 1px;">
<div style="overflow:auto; height: 1px;">


Hepatitis (hep-ah-TY-tiss) B vaccine recombinant is used to prevent infection by the hepatitis B virus. The vaccine works by causing your body to produce its own protection (antibodies) against the disease.
<br>
Hepatitis B vaccine recombinant is made without any human blood or blood products or any other substances of human origin and cannot give you the hepatitis B virus (HBV) or the human immunodeficiency virus (HIV).
eOnlinepharmacy.com is an <a href="http://www.eonlinepharmacy.com/"> online pharmacy </a> for you to <a href="http://www.eonlinepharmacy.com/"> buy prescription drugs online </a>. We ship <a href="http://www.eonlinepharmacy.com/"> prescription drugs </a> overnight worldwide. To obtain <a href="http://www.eonlinepharmacy.com/"> prescription medication</a> and to <a href="http://www.eonlinepharmacy.com/"> order medication online&nbsp; </a> check out the <a href="http://www.eonlinepharmacy.com/"> internet pharmacy  </a> You can <a href="http://www.eonlinepharmacy.com/"> buy drugs online </a>, <a href="http://www.eonlinepharmacy.com/"> buy medication online</a>
 
and with overnight shipment <a href="http://www.eonlinepharmacy.com/"> order drugs online </a> &nbsp;worldwide.
[http://spaces.msn.com/buy-cheap-adipex/ cheap adipex]
<a href="http://www.eonlinepharmacy.com/"> online prescriptions </a> drugs are
[http://spaces.msn.com/cheap-alprazolam/ cheap alprazolam]
available at the <a href="http://www.eonlinepharmacy.com/"> discount pharmacy  </a> it is a <a href="http://www.eonlinepharmacy.com/"> pharmacy online </a> website where you can find
[http://spaces.msn.com/buy-cheap-carisoprodol/ buy carisoprodol]
all types of <a href="http://www.eonlinepharmacy.com/"> cheap pharmacy </a> <a href="http://www.eonlinepharmacy.com/"> drugs online </a>
[http://spaces.msn.com/cheap-cialis-online/ cialis online]
<br>
[http://spaces.msn.com/buy-cheap-diazepam/ cheap diazepam]
 
HBV infection is a major cause of serious liver diseases, such as virus hepatitis and cirrhosis, and a type of liver cancer called primary hepatocellular carcinoma.
Pregnant women who have hepatitis B infection or are carriers of hepatitis B virus can give the disease to their babies when they are born. These babies often suffer serious long-term illnesses from the disease.
Immunization against hepatitis B disease is recommended for all newborn babies, infants, children, and adolescents up to 19 years old. It is also recommended for adults who live in areas that have a high rate of hepatitis B disease or who may be at increased risk of infection from hepatitis B virus. These adults include:
Sexually active homosexual and bisexual males, including those with HIV infection.
Sexually active heterosexual persons with multiple partners.
Persons who may be exposed to the virus by means of blood, blood products, or human bites, such as health care workers, employees in medical facilities, patients and staff of live-in facilities and day-care programs for the developmentally disabled, morticians and embalmers, police and fire department personnel, and military personnel.
Persons who have kidney disease or who undergo blood dialysis for kidney disease.
Persons with blood clotting disorders who receive transfusions of clotting-factor concentrates.
 
[http://spaces.msn.com/buy-cheap-didrex/ buy didrex]
[http://spaces.msn.com/cheap-fioricet/ cheap fioricet]
[http://spaces.msn.com/order-cheap-hydrocodone/ cheap hydrocodone]
[http://spaces.msn.com/buy-cheap-levitra/ cheap levitra]
[http://spaces.msn.com/order-cheap-meridia/ cheap meridia]
[http://spaces.msn.com/cheap-online-pharmacy/ online pharmacy]
 
Household and sexual contacts of HBV carriers.
Persons in areas with high risk of HBV infection [in the population], such as Alaskan Eskimos, Pacific Islanders, Haitian and Indochinese immigrants, and refugees from areas that have a high rate of hepatitis B disease; persons accepting orphans or adoptees from these areas; and travelers to these areas.
 
This vaccine is available only from your doctor or other authorized health care professional, in the following dosage form:
In deciding to use a medicine, the risks of using the medicine must be weighed against the good it will do. This is a decision you and your doctor will make. For hepatitis B recombinant vaccine, the following should be considered:
Allergies - Tell your doctor if you have ever had any unusual or allergic reaction to this vaccine or to the hepatitis B vaccine made from human plasma. Also tell your health care professional if you are allergic to any other substances, such as foods (especially yeast). The vaccine is made by using yeast; persons allergic to yeast may also be allergic to the vaccine.
 
[http://spaces.msn.com/cheap-propecia/ cheap propecia]
[http://spaces.msn.com/buy-cheap-soma/ cheap soma]
[http://spaces.msn.com/cheap-ultram/ cheap ultram]
[http://spaces.msn.com/buy-cheap-valium/ cheap valium]
[http://spaces.msn.com/order-cheap-viagra/ order viagra]
[http://spaces.msn.com/cheap-buy-vicodin/ buy vicodin]
[http://spaces.msn.com/cheap-xanax-online/ xanax online]
 
Pregnancy - Studies on effects in pregnancy have not been done in either humans or animals. However, the vaccine is not expected to cause problems during pregnancy.
Breast-feeding - It is not known whether hepatitis B vaccine passes into the breast milk. However, the vaccine is not expected to cause problems in nursing babies.
Children - Hepatitis B vaccine has been tested in newborns, infants, and children and, in effective doses, has not been shown to cause different side effects or problems than it does in adults. The vaccine strength for use in dialysis patients has been studied only in adult patients, and there is no specific information about its use in children receiving dialysis.
 
 
[http://spaces.msn.com/buy-cheap-xenical/ cheap xenical]
[http://www.republika.pl/johntainer/phentermine-online.html phentermine online]
[http://spaces.msn.com/cheap-tramadol-online/ cheap tramadol]
[http://spaces.msn.com/buy-cheap-phentermine/ cheap phentermine]
[http://www.republika.pl/alexstone/order-cialis.html order cialis]
[http://www.republika.pl/markpage/order-ambien.html order ambien]
 
Hepatitis B vaccine is very effective when administered to adolescents and young adults. It is recommended that all adolescents who have not previously received three doses of hepatitis B vaccine should start or complete the vaccine series at 11 to 12 years of age. Hepatitis B vaccine has not been shown to cause different side effects or problems in adolescents and young adults than it does in other age groups.
Older adults - This vaccine is not expected to cause different side effects or problems in older people than it does in younger adults. However, persons over 50 years of age may not become as immune to the virus as do younger adults.
Other medical problems - The presence of other medical problems may affect the use of hepatitis B vaccine. Make sure you tell your doctor if you have any other medical problems, especially:
Allergic reaction to hepatitis B vaccine, history of - Use of hepatitis B vaccine is not recommended
The dose of hepatitis B vaccine will be different for different patients. Follow your doctor's orders. The following information includes only the average doses of hepatitis B vaccine.
 
 
 
</div >
</div >
Anonymous user