Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Char. strings w/o text elements will not be translated:

Former Member
0 Likes
9,327

Hi ,

I have a few constants in my program.

But when i declare them as

text(12) type c value ' hello world',

In the code inspector i encounter "Char. strings w/o text elements will not be translated:" error.

Can somebody h

Hi ,

I have a few constants in my program.

But when i declare them as

text(12) type c value ' hello world',

In the code inspector i encounter "Char. strings w/o text elements will not be translated:" error.

Can somebody h

4 REPLIES 4
Read only

Former Member
0 Likes
3,130

Hi,

Text elements are required for Translating purpose. You have declared a free string but haven't declared the corresponding text element for that string. Thus the error. Please double click on the string and create the text element to get rid of the error in code inspector. This is not a mandatory thing but should be done.

Hope it helps.

Regards,

R

Read only

Former Member
0 Likes
3,130

Hi,

create the text element and replace those text element with the constants on the screen

Regards,

Omkaram.

Read only

former_member156446
Active Contributor
0 Likes
3,130
data: text(12) type c. 

text = text-001. "double click on text-001 and enter you text "hello World".
Read only

Former Member
0 Likes
3,130

Hi create text element and have your text. Use only text elements in the program. Otherwise the text will not appear when the report is opened in other languages. Text elements are mainly for translating purpose and also you can avoid hard cosing of values. If you need to change the text later, you can directly go to text elements and change it there instead of searching throught the code. It is not an error but its always advisable to use text elements to have user defined texts in program.