Online Translator plugin for iDempiere

260 views
Skip to first unread message

redhuan d. oon

unread,
Mar 2, 2016, 11:28:53 PM3/2/16
to iDempiere

This is for all languages in the world. You can now translate your Windows or just a single Tab or just a single Field from any language (say French) to any other language (say Vietnamese) without effort. It is easily done on the fly via the Magic Aladdin Plugin i been working on this week. Thank you Yandex Translation API. I made it smarter not to overwrite already done translations.  Just follow the example explained here http://red1.org/adempiere/viewtopic.php?f=45&t=1821#p8742 (a movie at the end demonstrates how its done within few minutes.)

Carlos Collazos

unread,
Mar 3, 2016, 9:33:26 AM3/3/16
to idem...@googlegroups.com
Great work as always Redhuan.

One question. How to avoid the prefix MY_ when creating a window?. I would like to use another prefix. I know I can edit it in Table & column windows but the table MY_ is left in the DB.

Regards,

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

On Thu, Mar 3, 2016 at 12:28 AM, redhuan d. oon <red...@gmail.com> wrote:

This is for all languages in the world. You can now translate your Windows or just a single Tab or just a single Field from any language (say French) to any other language (say Vietnamese) without effort. It is easily done on the fly via the Magic Aladdin Plugin i been working on this week. Thank you Yandex Translation API. I made it smarter not to overwrite already done translations.  Just follow the example explained here http://red1.org/adempiere/viewtopic.php?f=45&t=1821#p8742 (a movie at the end demonstrates how its done within few minutes.)

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/9f75cc0d-ebaa-4384-8643-10e9ba29cc92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

redhuan d. oon

unread,
Mar 3, 2016, 4:48:18 PM3/3/16
to iDempiere
I recently saw a movie on how Linus Torvalds created a 'monolithic' simple kernel over GNU's 'OO complexity' and that exploded for their techie base. But our ERP domain base is not techie and we are not growing that fast. ERP people very diverse wide ranging SMEs who wants simplicity and not another new learning curve. Or at least able to interface with a techie like me simply and quickly. I can be more productive, earn more higher up the scale and not waste them on low labour.

So this idea streak has just begun. I am going to play with JBoss Drools Integration, allowing the SME to craft business process completely on their own and no more M<class> logic.

I also been watching a lot of Donald Trump lately - keep it simple - think solution, not problem. Build a wall to stop problems, a single door to let only legal solution in. And make Mexico pay for it.

So in this solution you need not worry about messing the complexity:
1. Tables start with MY_
2. EntityType is 'U'
3. Cannot override pre-existing elements. If an element name existed before, it will be recalled without creating a new one which can potentially create conflict and again be difficult to support and debug.
4. Folder package is org.my.erp
5. Each model code is governed by own respective xml, event and factory code with standard suffixes.
6. Tips and comments box giving complete working suggestions.
7. Documentation and movies demonstrating how easy it is from start to actual finished product in single minutes.
8. Code layout simple for techies to continue and within containers outside the core. 

On Thursday, 3 March 2016 22:33:26 UTC+8, carlos wrote:
Great work as always Redhuan.

One question. How to avoid the prefix MY_ when creating a window?. I would like to use another prefix. I know I can edit it in Table & column windows but the table MY_ is left in the DB.

Regards,

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

On Thu, Mar 3, 2016 at 12:28 AM, redhuan d. oon <red...@gmail.com> wrote:

This is for all languages in the world. You can now translate your Windows or just a single Tab or just a single Field from any language (say French) to any other language (say Vietnamese) without effort. It is easily done on the fly via the Magic Aladdin Plugin i been working on this week. Thank you Yandex Translation API. I made it smarter not to overwrite already done translations.  Just follow the example explained here http://red1.org/adempiere/viewtopic.php?f=45&t=1821#p8742 (a movie at the end demonstrates how its done within few minutes.)

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.

Carlos Collazos

unread,
Mar 3, 2016, 5:05:41 PM3/3/16
to idem...@googlegroups.com
Ok. Thank you very much for your answer and the philosophy supporting  it. 

Regards,

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/7b802274-6906-4e31-9e49-88731335e67d%40googlegroups.com.

redhuan d. oon

unread,
Mar 3, 2016, 6:05:16 PM3/3/16
to iDempiere
You are welcome  and I always appreciate anyone's moral support!
Like to add too, that Nicolas Micoud (phew, i think i got his name parfait in my core memory now! :) ) original code contribution has more goodies such as auto generation of Document Workflow type handling so that a new model table can have its own WF and DocStatus similar to Orders such as Draft, Open, Complete, Close.
I should do the honours and respect of his fine contribution to this magic plugin by incorporating all of them in, but i do not like to be a copy and paste person. I am waiting for another spark to things. (The language spark actually happened while talking to a Siamese speaking illiterate at a roadside stall and i suddenly said, 'I can show it to you in Siamese easily. give me two days.' and I did it in less than a day. And it covers ALL languages.)
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.

redhuan d. oon

unread,
Mar 7, 2016, 5:35:13 AM3/7/16
to iDempiere
I modified so that you can use your own prefix on the fly and smart parsing makes window and tab names legibly set on its own. http://red1.org/adempiere/viewtopic.php?f=45&t=1821#p8747


On Thursday, 3 March 2016 22:33:26 UTC+8, carlos wrote:
Great work as always Redhuan.

One question. How to avoid the prefix MY_ when creating a window?. I would like to use another prefix. I know I can edit it in Table & column windows but the table MY_ is left in the DB.

Regards,

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

On Thu, Mar 3, 2016 at 12:28 AM, redhuan d. oon <red...@gmail.com> wrote:

This is for all languages in the world. You can now translate your Windows or just a single Tab or just a single Field from any language (say French) to any other language (say Vietnamese) without effort. It is easily done on the fly via the Magic Aladdin Plugin i been working on this week. Thank you Yandex Translation API. I made it smarter not to overwrite already done translations.  Just follow the example explained here http://red1.org/adempiere/viewtopic.php?f=45&t=1821#p8742 (a movie at the end demonstrates how its done within few minutes.)

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.

carlos

unread,
Mar 11, 2016, 10:23:10 AM3/11/16
to iDempiere
Hi Redhuan:

I am testing your excellent work but I found some problems with your approach of stripping the _ and prefix when creating the window. I think (IMHO) you should not strip anything but keep the table name for everything (including the prefix). The reason is that for example I create a table named OTI_Poa_Precio_Reg which created a window called Poa, then created a second table named OTI_Poa_Actividad_Reg, and the window's create process failed since it tried to create again the window Poa.

What do you think?

redhuan d. oon

unread,
Mar 11, 2016, 8:29:25 PM3/11/16
to iDempiere

Thanks for that catch as what you have found is a logical bug during creation of WindowName (while removing first prefix. It is not so in TableName so your suggested maintaining prefix does not arise. Anyway I found the code quite easy to modify to take care of subsequent '_'s. I tested with your cases and further 'Single', 'AD_Singleton' 'AD_TakeAway_FastFood'. Screenshot shows the result. I checked the Database, all tablenames intact as given.
Please download again and test to confirm.


Carlos Collazos

unread,
Mar 12, 2016, 10:01:39 AM3/12/16
to idem...@googlegroups.com
Redhuan:

I downloaded and tested it. Now I can create both windows without problem.

Thank you very much for your answer.

Regards,

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/c9e9f85f-b953-4d48-b398-544c08acd2ad%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages