Quantcast
Channel: NBStore Discussions Rss Feed
Viewing all articles
Browse latest Browse all 4081

New Post: Back-Button Ressource File?

$
0
0
Hi Don

I have faced the same problem a while ago and solved it by adding the two entries to the checkout.ascx.de-DE.resx file (for german translation) to make it sepparately localizeable for me.
You can do this safely via an xml-Editor or by opening the resx-File in Visual Studio ... please be careful and do not edit resource files with a simple editor ... that may breakt the resourcefiles XML-Validity and cause DNN to crash when you try to edit the resources in the DNN-Language-Editor.

-> Rob: Its basically good programming behaviour to use general/portal-wide translations for general resources - so I think Dave has done the best for most people that have to translate the store because he mentioned the "dry"-Principle ("dont repeat yourself") ... but it may be a little confusing for many people not to find the resourcekey in the assosiated resx for the module/control. If dnn is localized via the DNN-Core language pack this resource is already translated and you have correct text on the buttons.

I would say: Don´t put the blame on Dave ;-)

In my case I decided to add the keys for cmdBack.Text and cmdNext.Text to the resourcefile of the checkout module because i needed a different text to appear on the buttons in checkout than in other parts of the dnn portal...

... hope this helps
regards
Gerald

Viewing all articles
Browse latest Browse all 4081

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>