Quantcast
Channel: ResX Resource Manager
Viewing all articles
Browse latest Browse all 2435

Reopened Issue: Support for csthml / Move to ressource [4778]

$
0
0
It would be nice if ResX Manager could support the extraction of string resources from cshtml files.

Two cases could be addressed :

- HTML/JS String

<meta name="description" content="__RESOURCE_TO_EXTRACT__">

- Razor String

@{
int x = 123;
string y ="__RESOURCE_TO_EXTRACT__";
}

Highlighting the string would give access to the "Move to resource" command like in a cs file.

The html/JS string could be replaced by @Html.Raw(Resx.ID) optionaly, or by default, as it's usually the way you want the string injected in the html/JS.

Viewing all articles
Browse latest Browse all 2435

Trending Articles



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