Hello all,
In the file /static/src/js/website.translator.js, we have the code :
if (!openerp.website.translatable) {
// Temporary hack until the editor bar is moved to the web client
alert('44444444');
return;
}
For one of my website, openerp.website.translatable is FALSE. Where is taken this value? How to change it to TRUE?
Thanks
UPDATE #1
Ok, I now know that this value is taken here :
<template id="website_lapagept.website_layout_pt" name="Main layout - PT"><!DOCTYPE html>
<html t-att-lang="lang and lang.replace('_', '-')"
t-att-data-website-id="website.id if editable and website else None"
t-att-data-editable="'1' if editable else None"
t-att-data-translatable="'1' if translatable else None"
[....]
But now, where does this new « translatable » take his value????