• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

[solved] localization problem

 
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found it, had a naming problem while i had appname in package.properties and that's why only that worked.

i created this property file: ClassName.properties in the ClassNames's path.

It contains:
appname = Loto
tooasltip = Home Page

In the code if i write: <s:text name="appname" /> it works and displays Loto
If i write <s:text name="tooasltip " /> it displays "tooasltip" instead.
What am i doing wrong?

I mention i just change the property name and leave the code in place, and it behaves differently for different property names.
Also the order the properties are defined in their file is irrelevant, as it should, what goes wrong then?
Same weirdness with <s:text name="getText('appname')" /> -it works, <s:text name="getText('tooasltip )" /> doesn't.
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
amazing !!!


appname = Loto
tooasltip = Home Page



i hope issue in deployment. delete the property file test it.
then add the property file and test it
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic