Hello again
Is there a way to make the invoicing bilingual? Meaning, can the form/report that is used, be 1 language or another depending upon the client? As well, in the descriptions of the product, can there be 2 fields for the description, and only one of the 2 is interested in the invoice report, corresponding to the language of the client? THanks Joseph |
Hi Joseph,
I'm not sure if you're referring to web forms and/or printed (PDF) sales invoices. Anyways both of them can take advantage of standard ofbiz multilingual support typically configured using XML files (e.g. applications/accounting/config/AccountingUiLabels.xml), and also could be programmed or hard coded into screens definition (e.g. applications/accounting/widget/Invoice*.xml) or FOP ftl templates (e.g. applications/accounting/template/invoice/*.ftl) Regarding the 2 description fields you might need do extend the Invoice entity in order to add the extra column and customize the corresponding screen and/or FOP ftl template. Kind Regards, Victor. On Wed, Oct 23, 2019 at 1:32 PM J <[hidden email]> wrote: > > Hello again > > > Is there a way to make the invoicing bilingual? > > Meaning, can the form/report that is used, be 1 language or another > depending upon the client? As well, in the descriptions of the product, > can there be 2 fields for the description, and only one of the 2 is > interested in the invoice report, corresponding to the language of the > client? > > > THanks > > > Joseph > |
In reply to this post by J
Hi Josef,
If I have understood your requirement correctly, you can make any screen bilingual/multilingual with the help of UI labels. UI labels will be randered based on the locale of your client. If your clients belong to the same locale and still you want bilngual support then I think you have to explicitly set the locale in the context based on the client in the code. You can also provided an option (like drop-down) to change the language in the UI itself. For your second question, you can use the 'ProductAttribute' table to have description of the product in multiple languages and you can show a particular attribute value based on the locale setting of the user. Thanks & Regards -- Deepak Nigam On Thu, Oct 24, 2019, 12:03 AM J <[hidden email]> wrote: > Hello again > > > Is there a way to make the invoicing bilingual? > > Meaning, can the form/report that is used, be 1 language or another > depending upon the client? As well, in the descriptions of the product, > can there be 2 fields for the description, and only one of the 2 is > interested in the invoice report, corresponding to the language of the > client? > > > THanks > > > Joseph > > |
Hello Deepak
Thanks for the feedback. I am glad there is a way to frad the data needed according to the language of the client. This leads to 2 more questions: 1- in OFBiz, is there a way to have 2 description fields for each product? 1 in french, and 1 in english (for example). Or, does it already have 2 fields for this? 2- when the report is being used, for a invoice for example, is there a way to tell the system which version of the form to use, based on the language of the client? Thanks! Joseph On 2019-10-23 9:40 p.m., Deepak Nigam wrote: > Hi Josef, > > If I have understood your requirement correctly, you can make any screen > bilingual/multilingual with the help of UI labels. UI labels will be > randered based on the locale of your client. > > If your clients belong to the same locale and still you want bilngual > support then I think you have to explicitly set the locale in the context > based on the client in the code. You can also provided an option (like > drop-down) to change the language in the UI itself. > > For your second question, you can use the 'ProductAttribute' table to have > description of the product in multiple languages and you can show a > particular attribute value based on the locale setting of the user. > > Thanks & Regards > -- > Deepak Nigam > > On Thu, Oct 24, 2019, 12:03 AM J <[hidden email]> wrote: > >> Hello again >> >> >> Is there a way to make the invoicing bilingual? >> >> Meaning, can the form/report that is used, be 1 language or another >> depending upon the client? As well, in the descriptions of the product, >> can there be 2 fields for the description, and only one of the 2 is >> interested in the invoice report, corresponding to the language of the >> client? >> >> >> THanks >> >> >> Joseph >> >> |
Hi J,
Please find reply inline 1- in OFBiz, is there a way to have 2 description fields for each > product? 1 in french, and 1 in english (for example). Or, does it > already have 2 fields for this? > It already have 'N' fields for this , in other words as many language translations are supported as needed. one of the superb aspects of OFBiz is that it is based on a very solid data model. Products are associated with "Contents" Each piece of "Content" can have associated contents in multiple locales. This feature works and I have used it in a bilingual application. Refer to Page - 6 of BigBook OFbiz Data Model (downloadable PDF is available). > > 2- when the report is being used, for a invoice for example, is there a > way to tell the system which version of the form to use, based on the > language of the client? > I am not able to answer this. Someone using OOTB frequently will be able to address this. In case some feature is missing in OOTB , due to framework nature of OFBiz its very much possible to develop the missing functionality. regds mallah. On Thu, Oct 24, 2019 at 9:14 AM Joe Hogan <[hidden email]> wrote: > Hello Deepak > > Thanks for the feedback. I am glad there is a way to frad the data > needed according to the language of the client. > > This leads to 2 more questions: > > 1- in OFBiz, is there a way to have 2 description fields for each > product? 1 in french, and 1 in english (for example). Or, does it > already have 2 fields for this? > > 2- when the report is being used, for a invoice for example, is there a > way to tell the system which version of the form to use, based on the > language of the client? > > Thanks! > > > Joseph > > > On 2019-10-23 9:40 p.m., Deepak Nigam wrote: > > Hi Josef, > > > > If I have understood your requirement correctly, you can make any screen > > bilingual/multilingual with the help of UI labels. UI labels will be > > randered based on the locale of your client. > > > > If your clients belong to the same locale and still you want bilngual > > support then I think you have to explicitly set the locale in the context > > based on the client in the code. You can also provided an option (like > > drop-down) to change the language in the UI itself. > > > > For your second question, you can use the 'ProductAttribute' table to > have > > description of the product in multiple languages and you can show a > > particular attribute value based on the locale setting of the user. > > > > Thanks & Regards > > -- > > Deepak Nigam > > > > On Thu, Oct 24, 2019, 12:03 AM J <[hidden email]> wrote: > > > >> Hello again > >> > >> > >> Is there a way to make the invoicing bilingual? > >> > >> Meaning, can the form/report that is used, be 1 language or another > >> depending upon the client? As well, in the descriptions of the product, > >> can there be 2 fields for the description, and only one of the 2 is > >> interested in the invoice report, corresponding to the language of the > >> client? > >> > >> > >> THanks > >> > >> > >> Joseph > >> > >> > |
In reply to this post by Victor Hernadez
Hi Victor,
Please subscribe to the user ML for such questions and then use your email client See also why here http://ofbiz.apache.org/mailing-lists.html You will get a better support , it's more fair to share with everybody and people can answer you on the ML rather than directly to you The wider the audience the better the answers you might get. Thanks & Regards -- Deepak Dixit ofbiz.apache.org On Thu, Oct 24, 2019 at 11:02 AM Victor Hernandez < [hidden email]> wrote: > Hi Joseph, > > I'm not sure if you're referring to web forms and/or printed (PDF) > sales invoices. Anyways both of them can take advantage of standard > ofbiz multilingual support typically configured using XML files (e.g. > applications/accounting/config/AccountingUiLabels.xml), and also could > be programmed or hard coded into screens definition (e.g. > applications/accounting/widget/Invoice*.xml) or FOP ftl templates > (e.g. applications/accounting/template/invoice/*.ftl) > > Regarding the 2 description fields you might need do extend the > Invoice entity in order to add the extra column and customize the > corresponding screen and/or FOP ftl template. > > Kind Regards, > Victor. > > On Wed, Oct 23, 2019 at 1:32 PM J <[hidden email]> wrote: > > > > Hello again > > > > > > Is there a way to make the invoicing bilingual? > > > > Meaning, can the form/report that is used, be 1 language or another > > depending upon the client? As well, in the descriptions of the product, > > can there be 2 fields for the description, and only one of the 2 is > > interested in the invoice report, corresponding to the language of the > > client? > > > > > > THanks > > > > > > Joseph > > > |
Administrator
|
Hi Deepak,
Thanks for moderating, actually [hidden email] is subscribed. I'll check with Infra what the problem is... Jacques Le 24/10/2019 à 07:32, Deepak Dixit a écrit : > Hi Victor, > > Please subscribe to the user ML for such questions and then use your email > client > See also why here http://ofbiz.apache.org/mailing-lists.html > > You will get a better support , it's more fair to share with everybody and > people can answer you on the ML rather than directly to you > The wider the audience the better the answers you might get. > > Thanks & Regards > -- > Deepak Dixit > ofbiz.apache.org > > > On Thu, Oct 24, 2019 at 11:02 AM Victor Hernandez < > [hidden email]> wrote: > >> Hi Joseph, >> >> I'm not sure if you're referring to web forms and/or printed (PDF) >> sales invoices. Anyways both of them can take advantage of standard >> ofbiz multilingual support typically configured using XML files (e.g. >> applications/accounting/config/AccountingUiLabels.xml), and also could >> be programmed or hard coded into screens definition (e.g. >> applications/accounting/widget/Invoice*.xml) or FOP ftl templates >> (e.g. applications/accounting/template/invoice/*.ftl) >> >> Regarding the 2 description fields you might need do extend the >> Invoice entity in order to add the extra column and customize the >> corresponding screen and/or FOP ftl template. >> >> Kind Regards, >> Victor. >> >> On Wed, Oct 23, 2019 at 1:32 PM J <[hidden email]> wrote: >>> Hello again >>> >>> >>> Is there a way to make the invoicing bilingual? >>> >>> Meaning, can the form/report that is used, be 1 language or another >>> depending upon the client? As well, in the descriptions of the product, >>> can there be 2 fields for the description, and only one of the 2 is >>> interested in the invoice report, corresponding to the language of the >>> client? >>> >>> >>> THanks >>> >>> >>> Joseph >>> |
Free forum by Nabble | Edit this page |