Using the Tag Settings Wizard for XML?
Thread poster: Jan Sundström

Jan Sundström  Identity Verified
Sweden
Local time: 13:13
English to Swedish
+ ...
May 3, 2007

Hi all,

I have a very simple XML file, that basically consists of lines like this:
data key='AccessControlCodeError' value='Invalid code'/

(Each line starts and ends with angle brackets, which are not visible in the Proz forum.)

When I run the Tag Settings Wizard to create a custom .ini file, it suggests that the element "data" should be external.

Off course, this means that all text will be greyed and untranslatable in TagEditor.

When I tamper with the .ini file manually, I'm able to change the element type to "internal" or "placeholder", but the text still comes up as red in TagEditor, ie as tags rather than translatable text.

Obviously, I want simply the text to the right of value=' to come us as translatable.

Is there any way for me to configure this in the tag Settings Wizard???

TIA,

/Jan

[Edited at 2007-05-03 08:28]


 

Stefan de Boeck (X)  Identity Verified
Belgium
Local time: 13:13
English to Dutch
+ ...
tags and translatable text May 3, 2007


Obviously, I want simply the text to the right of value=' to come out as translatable.


If it looks like this:
data key='AccessControlCodeError' value='Invalid code'
and data is the name of the element (the entire thing is and will be a tag; internal or external does not matter)
you need to (I think) add or define value as a translatable attribute.

You can do this in Tag Settings Manager (no need to upset the Wizard) in which you select the ini, hit ‘Properties’, hit ‘Elements’, then data, hit ‘Properties’, hit ‘Attributes’...
In the name field you may need to add value, & click ‘Add’. As far as I can see you’ll be required to check the check box for value...

That's it, or should be.

Haven’t done this ever myself, though; kind of curiuos if it’ll work.

Bye!


[Edited at 2007-05-03 18:50]


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Using the Tag Settings Wizard for XML?

Advanced search







Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search