dictionnaire

Bonsoir,

je cherche a comprendre comment les dictionnaire marched d’un point de vue dev.
j’ai peu-etre mal cherche mais j’ai rien trouvé dans le wiki.
en parcourant le code je voie pas trop quand les dico de chaque module s’active par exemple ou comment on déclare des dico pour un module.

Je voudrais rajouter des dico dans les modules que je développe actuellement.
j’arrive a creer la table par la methode standart des tables lié a un module.

pas trouvé comment le rendre visible dans dolibarr sans attaquer la db directement.

si quelqu’un connais le fonctionnement je veux bien rediger la doc wiki pour les dicos si on m’explique comment fonctionne les dicos :wink:
Merci d’avance


Hi folks,

I’m fighting with dictonary compoment.
I can’t get how it works from code or documentation .
for exemple how to declare a dictonnary in a module description files.
How to activate a dictonnary.

I’d creat so far a table like llx_c_mydyco but i can’t see it inside dolibarr.
if someone explain me how it work i’ll be glad to wrote a wiki page about it :happy:

thanks in advance

There is no way for the moment to see a dictionnary table in the « dictionnary » menu of Dolibarr as list is hard coded in the dictionnary page.
So you must create id like a common table and add a page yourself to edit it for the moment.

thanks for the answer.
that’s confort me in my diagnostic ;)…

In fact that was already how i process the data.

cheers
ludo