Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333064 - Globalization of generated code from xText
Summary: Globalization of generated code from xText
Status: CLOSED WORKSFORME
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 04:59 EST by Ashwani Kr Sharma CLA
Modified: 2011-03-26 16:03 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashwani Kr Sharma CLA 2010-12-22 04:59:31 EST
Build Identifier: 

Hi,

There is no easy way to have strings in generated code as non-nls.
The description is in this forum post: http://www.eclipse.org/forums/index.php?t=rview&th=202141&notify=1&opt=off

Quoted from forum post:
---------------------------------
Hi,

I have a grammer, mwe files defined and i am able to generate the emf model and other code.
The emf model and other code gets generated in src-gen folder.

The generated code in src-gen have many strings which are not marked as non-nls. Correcting them manually will not be good because changes will get reverted on re-generation.
I can change the genmodel also, to mark strings as non-nls but genmodel itself is part of src-gen.

What do i have to do to mark that generated code and emf model should have non-nls flags marked correctly ?

---------------------------------

Regards,
Ashwani Kr Sharma

Reproducible: Always

Steps to Reproduce:
.
Comment 1 Sven Efftinge CLA 2011-03-26 16:03:50 EDT
Please list precisely which strings you think should be externalized.