0

for a client solution, we are building a structure of RESOURCE files following the RESX standard (or trying to) in an app based on Node

in the specifications we do not see any usage of labels ending with .text, while in the system all resources looks like:

<data name="lbl_HelloWorld.Text" xml:space="preserve">
    <value>HELL WORLD!!</value>
</data>

is that .text necessary?

is something specific to our client actual system ? (by the way, it is a DNN / DotNetNuke implementation)

example of posts where it is told about the .text thing:

while in the Microsoft pages nothing is told about the .Text thing:

Community
  • 1
  • 1
pGrnd2
  • 514
  • 1
  • 5
  • 14
  • more links talking about the .txt thing: – pGrnd2 Feb 20 '17 at 19:11
  • https://www.dnncreative.com/Forum/tabid/88/aft/23954/%5BLink%5D – pGrnd2 Feb 20 '17 at 19:11
  • http://www.plumco.com.au/DesktopModules/XModPro/help/Localization.html – pGrnd2 Feb 20 '17 at 19:12
  • http://www.dnnsoftware.com/community-blog/cid/155246/module-development-in-dnn-8-4--localization-support-for-mvc-modules – pGrnd2 Feb 20 '17 at 19:12
  • Your first link has [an answer](http://stackoverflow.com/a/26970241/215552) which says, "*"lblName.Text" will assign to the Text property of the label "lblName.Help" will assign to the DNN Tooltip property if you are using dnn:Labels like above*" – Heretic Monkey Feb 20 '17 at 19:20
  • DNN's localization is a different process than standard .NET localization. – Chris Hammond Feb 20 '17 at 22:37
  • @MikeMcCaughan, thanks, that i got, that for DNN the .Text thing in the RESX goes to the Text property. The thing is, that's only for DNN, nothing like a standard on .net / asp / etc.. (seems to be from ChrisHammond response) – pGrnd2 Feb 21 '17 at 09:11
  • @ChrisHammond thanks, therefore, this is just a DNN thing, isnt' it?. While I found useful or interesting, I see it as a unconventional way of play with the RESX, may I ask why that in DNN ? (I believe you are on the developers team of DNN, isn't it? – pGrnd2 Feb 21 '17 at 09:13
  • I am not one of the developers, used to work for the company, but that was many moons ago – Chris Hammond Feb 21 '17 at 14:15

1 Answers1

0

.Text is the text property of the label objectn
msdn link

Matz Reckeweg
  • 31
  • 1
  • 4
  • Thnakas @mattz-reckewg, I got the .Text property in .net, But i am talking about the .text "ending" on the RESX files, seems to be an unconventional way of using the RESX files to be align to .net properties ?? – pGrnd2 Feb 21 '17 at 09:08