I pushed a new branch to the emc2 repository on git.linuxcnc.org, called
defer-format.

In this branch, the formatting operations performed by the realtime
motion controller's "reportError" function are not formatted until after
they arrive in userspace.  Thus, it is possible to localize these
messages.

Since hal messages printed with level RTAPI_MSG_ERROR go through
reportError to be shown to the operator, this *should* apply to those
messages, but I haven't tested this.

It doesn't compile on rtai yet; I'll clean that up when I get back on a
machine with a realtime kernel.

And it may not answer all needs.  For instance, there's no provision for
messages from foo.comp, shipped separately from emc2, to have their
translations inserted in the message catalog used when userspace
localizes a specific message.

If you're interested in localization of emc, please give this branch a
try.  I'll post a followup if and when the branch works on rtai.

http://git.linuxcnc.org/gitweb?p=emc2.git;a=shortlog;h=refs/heads/defer-format

Jeff

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to