Open rprimet opened 1 month ago
(note that we do not necessarily need to fix that, we could instead decide to always assume english since the use case is a visual editor...)
Ah, interesting ! You're completely right noticing that. I would say that for compatibility with people not using the visual editor, catala testcase write
should take a language flag option and output code in French or English.
It seems that
catala testcase write
(in the catala-language-server library) will always write english catala code and does not consider the language flag; this is something that we should keep in mind to fix later?cc @AltGr