Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Internal Server Error when i translate odoo

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
#pos#translate
5 Réponses
7417 Vues
Avatar
Taras

I translate file "point_of_sale_view.xml", upgraded module "point of sale" and get this:

Odoo Server Error

Traceback (most recent call last):

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\http.py", line 537, in _handle_exception

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\http.py", line 574, in dispatch

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\http.py", line 310, in _call_function

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\service\model.py", line 113, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\http.py", line 307, in checked_call

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\http.py", line 803, in __call__

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\http.py", line 403, in response_wrap

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\openerp\addons\web\controllers\main.py", line 948, in call_button

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\openerp\addons\web\controllers\main.py", line 936, in _call_kw

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\api.py", line 241, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\openerp\addons\base\module\module.py", line 533, in button_immediate_upgrade

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\api.py", line 241, in wrapper

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\openerp\addons\base\module\module.py", line 494, in _button_immediate_function

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\modules\registry.py", line 370, in new

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\modules\loading.py", line 351, in load_modules

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\modules\loading.py", line 255, in load_marked_modules

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\modules\loading.py", line 176, in load_module_graph

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\modules\loading.py", line 118, in _load_data

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\tools\convert.py", line 901, in convert_file

File "C:\Program Files (x86)\Odoo 8.0-20150710\server\.\openerp\tools\convert.py", line 974, in convert_xml_import

File "lxml.etree.pyx", line 3239, in lxml.etree.parse (src\lxml\lxml.etree.c:69955)

File "parser.pxi", line 1769, in lxml.etree._parseDocument (src\lxml\lxml.etree.c:102257)

File "parser.pxi", line 1789, in lxml.etree._parseFilelikeDocument (src\lxml\lxml.etree.c:102516)

File "parser.pxi", line 1684, in lxml.etree._parseDocFromFilelike (src\lxml\lxml.etree.c:101442)

File "parser.pxi", line 1134, in lxml.etree._BaseParser._parseDocFromFilelike (src\lxml\lxml.etree.c:97069)

File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src\lxml\lxml.etree.c:91275)

File "parser.pxi", line 683, in lxml.etree._handleParseResult (src\lxml\lxml.etree.c:92461)

File "parser.pxi", line 622, in lxml.etree._raiseParseError (src\lxml\lxml.etree.c:91757)

XMLSyntaxError: Input is not proper UTF-8, indicate encoding !

Bytes: 0xC7 0xE0 0xEA 0xE0, line 15, column 30


If i try to reload page, i get a Internal Server Error.
Who now, how i can fix it?


0
Avatar
Ignorer
Avatar
Marvin Taboada
Meilleure réponse

Hello Taras, I see that the Ukrainian translations are far from being completed. I suggest you revert your XML changes and use Odoo built-in translations support and simply translate the correct files.

To enable Odoo built-in translations support, you will require Administration permissions in your Odoo server to load the Ukrainian translation ("Settings > Translations > Load a Translation").

Every Odoo module has a directory with translations, you may try editing the `uk.po` for the "Point of Sale" module, in your local installation, and load the new translated terms by reinstalling the module. Look for the following file in your local installation: 
https://github.com/odoo/odoo/blob/8.0/addons/point_of_sale/i18n/uk.po

It is very important to use an UTF-8 aware editor so you don't run into encoding problems later. 

After the translation has been loaded, Odoo users have the option to set their preferred language by setting it at their Preferences (Username > Preferences: Language).

As in any open source project, contributions are always welcomed. Odoo now uses the Transifex platform to manage translations, you only require to subscribe there in order to push contributions.

Regards.

1
Avatar
Ignorer
Avatar
Serpent Consulting Services Pvt. Ltd.
Meilleure réponse

Dear Taras,

The error says your accented characters cannot be encoded by xml.

You must not edit the XML, rather use your admin credentials to change the trnslations.

Thanks.

1
Avatar
Ignorer
Avatar
Timour Mahieddin
Meilleure réponse

Well i translate exporting the .po file from the module and use the PoEdit software, for me that's the best way

0
Avatar
Ignorer
Avatar
Victor
Meilleure réponse

Use import-export translations file/

and 

Install ODoo to *nix system - its work stable.

 

0
Avatar
Ignorer
Avatar
Taras
Auteur Meilleure réponse

Thanks for answer, but translations not completed, and i need full translate odoo. Other xml file i translate and haven't no one problem. 

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Cannot close the session
#pos
Avatar
0
avr. 24
1732
Unable to update PoS config Résolu
#pos
Avatar
1
mars 24
2903
How to disable button disc on POS odoo12?
#pos
Avatar
Avatar
Avatar
Avatar
3
juin 23
2382
How to add warning to POS when user input price below standard price?
#pos
Avatar
Avatar
Avatar
3
sept. 18
4470
how to generate invoice from POS?
#pos
Avatar
0
mars 15
4850
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now