Re: gPXE Internalization

"Miller, Shao" <[email protected]> Fri, 12 Jun 2009 16:50:03 -0400
Newsgroups gmane.network.etherboot.user,gmane.network.etherboot.devel
Message-ID <[email protected]>
This might be more appropriate for the developers' mailing list.  I've
carbon-copied the developers' list, but maybe we could leave off the
discuss mailing list off on any replies to this e-mail?

By the way, I don't think "internalization" is the term you mean, but I
know what you mean.  "Internalization" means the process of taking a
subject and making it internal, as far as I know.

I suppose that it's possible to have an inline function something like:

/**
 * This function performs a look-up for a string into a translation
table
 * and returns the appropriate translation
 *
 * @gstring		A string to look-up and translate
 *
 * @ret		Translation for gstring
 */
inline char *GSTR ( char *gstring )
{
	/* Insert code here */
}

However this would mean extra code for every single instance of GSTR()
in the code.  That could end up being pretty big.  Maybe there's a crazy
way using #define GSTR(x), but I can't think of one.  Another option
would be to tag all translatable strings with GSTR() (or whatever) and
pre-parse all the source files to translate them, just before
compilation.

Interesting idea.  Not quite sure which direction's best.  As an aside,
has anyone seen multiple languages supported by NIC-native PXE stacks?

- Shao Miller

-----Original Message-----
From: Marek Wajdzik [mailto:[email protected]] 
Sent: Friday, June 12, 2009 03:38
To: [email protected]
Subject: [Etherboot-discuss] gPXE Internalization

I think that gPXE iternalization will be great idea. Language might be 
selected before rom build in makefile or similar to linux make 
menuconfig menu. I can translate gPXE to Polish.

------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Etherboot-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/etherboot-discuss

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects