Recent

Author Topic: resourcestring and dynamic Ids  (Read 2313 times)

Neuromancer

  • New Member
  • *
  • Posts: 44
    • My personal website
resourcestring and dynamic Ids
« on: March 06, 2012, 03:15:06 pm »
Hello,

Is it possible to use resourcestring with dynamically handled Ids ?

Code: [Select]
resourcestring
sTestStr='Test';

Instead of :
Code: [Select]
var s : string;
s := sTestStr;

'sTestStr' would be dynamically retrieved (from a config file for example).

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: resourcestring and dynamic Ids
« Reply #1 on: March 06, 2012, 11:52:22 pm »
The ID shouldn't change, the corresponding translated string should.

 

TinyPortal © 2005-2018