Developer forum

Forum » CMS - Standard features » Auto-generated translation keys

Auto-generated translation keys

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

I am using the new feature to automativally generate the translation keys (thanks *a lot* for adding that, BTW) as described in the release notes:

When using a @Translate tag or the Translate method in Razor, and the provided key does not exist in the translation file, the key is now added to the XML file - with the specified default value if specified (Only new translations method). The keys are added to the translations.xml in the designs folder when the frontend pages are loaded. - See more at: http://developer.dynamicweb.com/releases/dynamicweb-8-7-1.aspx#sthash.GGNRqLQs.zQotU7Tb.dpuf

I do get the keys in my translation files corrrectly, but they do not have the default value. I am using Razor templates.

Is there something I need to do to get the default in there? Set a default languge somewhere maybe?

Thanks,

Imar


Replies

 
Nicolai Høeg Pedersen
Reply

Yes, Maybe seems like the code is missing to set that attribute on the XML.

Will look into it.

BR Nicolai

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Great, thanks.

Imar

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Any news on this issue? In its current form, it's sort of useless ;-(

Imar

 
Nicolai Høeg Pedersen
Reply

I think it was fixed (for 8.8), but cannot find the TFS item. I've asked Merethe to dig into it!

 
Kristian Kirkholt
Reply

Hi Imar

The problem TFS#21023 "Default value not added"  has now been fixed in version 8.8.0.1

You are able to find this build in the download section:

http://developer.dynamicweb-cms.com/downloads/dynamicweb-8.aspx

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum