dotnet / ResXResourceManager

Manage localization of all ResX-Based resources in one central place.
MIT License
1.33k stars 217 forks source link

DNN Tokens #6

Closed nmamanx closed 7 years ago

nmamanx commented 7 years ago

Hello, What is the Regex to be adding for supporting "dotnetnuke tokens"?, And what are the configuration for it? Adding same example\links: dnn tokens: http://www.dnnsoftware.com/wiki/tokens Regex for dnn tokens: [(\w+|\W?:\w+|\W?)*] (it is o.k?) Example for tokens: [Portal:Currency] [Portal:Description] [Portal:Email] [Portal:FooterText] [Portal:HomeDirectory] [Portal:LogoFile] [Portal:PortalName] [Portal:PortalAlias] [Portal:TimeZoneOffset] [User:DisplayName] [User:Email] [User:FirstName] [User:FullName] [User:LastName] [User:Username] [User] [number]

Thanks, Nir

tom-englert commented 7 years ago

I assume you are talking about "Detect Code References" configuration, right? But how would that tokens map to the keys in the resource files?

nmamanx commented 7 years ago

did not worked. [User] , did not work at all [User:Username] , first word translated. only the second did not translated.

nmamanx commented 7 years ago

a good regex for dnn tokens: [(\w+)]|[(\w+:\w+)] but still did not working good :(

tom-englert commented 7 years ago

I'm not sure what you are talking about.

tom-englert commented 7 years ago

@nmamanx can you please clarify what this issue is about?

tom-englert commented 7 years ago

Close issue since I still have no clue what this is about, and no reply from @nmamanx