El 01/06/17 a les 13:36, Mark Shane Hayden ha escrit:
Thanks this helps a lot! I have English and French activated on this setup, though at the moment I am only using English (we want to be able to accommodate business in Quebec in the future but we haven't translated anything yet).

Despite the fact I have only been using English the site appears to have the descriptions in both the product table AND the translation table. When I edit the values in Tryton client they BOTH change, but my updates only changed the main table and it seems the Tryton client and my flask web shop pull the value out of the translation.

Tryton reads the data from the translation table and you should probably do the same. Indeed, if you use flask-tryton [1], the same behaviour will be preserved.

My advice will be to update the scripts to put the right values on the translation table.


I will have a look at my setup to see if there is anythong weird, however I have not specified a main language in the config file, and all the translations have a language "en".

Would there be any damage in removing those offending translation records? I really only need them for French in the future.
WARNING: If you want to remove translations, take care to remove only translations for your field and language.

First of all, you should unmark the "Translatable" check on the langauge table to indicate that this language is no more available as translation.


[1] https://pypi.python.org/pypi/flask_tryton/0.4


--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/701fcd20-3791-07af-2bb1-b8576c5131b5%40koolpi.com.

Reply via email to