0

The "Loading..." text in grids should be translated to the device language right ? I ask because the text do not get the device language someone know why ? In advanced I already load the languages in the KB.

Marc M
  • 37
  • 2
  • Do you have a code snippet or better yet the full code part? – indofraiser Mar 17 '15 at 15:16
  • hi indofraiser i do not have code because i talk about the default text of grid when grid charging data and its spend some time one the grid show the text "Loading..." this text I talk about if should be use the device language por example in spanish "Cargando..." and not Loading... understand ? – Marc M Mar 17 '15 at 19:50
  • Try this page: http://www.w3.org/International/questions/qa-html-language-declarations -- -- – indofraiser Mar 17 '15 at 22:11
  • Did you set property Translation type to "Runtime Translation" ? Ref. : http://wiki.genexus.com/commwiki/servlet/hwikibypageid?9126 – Armin Bachmann Mar 18 '15 at 11:24
  • Hi Armin, I set Translation type to "Runtime" as your instruction but grid keep show Loading instead of Cargando (ES) or Carregando (PT) in advanced all languages is marked and I do rebiuld all after change of Translation Type property, any other way ? thx. – Marc M Mar 18 '15 at 16:20
  • Armin forgot my above comment I was set the Translation Type in wrong environment, now it works fine, thank you so much. – Marc M Mar 18 '15 at 16:23

1 Answers1

0

Try including that string in an event or a procedure. You don't need to use it anywhere. Like this:

&String = "Loading..."

Save and build the object, and that string should appear on your language object for translation.

Sometimes I need to do this when I have text on a grid, table or other element on screen. For some reason, Genexus doesn't find those strings for translation, but I couldn't find the exact reason why, it seems random.

ramone
  • 1
  • 1