RickStrahl / Westwind.Globalization

Database driven resource localization for .NET applications
544 stars 135 forks source link

Resource html viewer #152

Closed azharmahmood closed 5 years ago

azharmahmood commented 5 years ago

Would it be possible to add an html viewer for resources? It can be added to the dialog box that opens a resource, upon double clicking the language entry for a resource value.

RickStrahl commented 5 years ago

Not sure what you're asking.

azharmahmood commented 5 years ago

Hi Rick, I meant, if a view option can be added, to provide html view of any resources that contain html markup, images etc. I am planning on using this app for a limited CMS use, where multi lingual content blocks can be created in the resource editor and consumed on the consumer application.

Actually while looking at the code I noticed that there is a view button in ResourceEdit.html, which was set to display:none. I don't know much about Angular unfortunately.

Thanks, Azhar

On Thu, Feb 21, 2019 at 4:36 PM Rick Strahl notifications@github.com wrote:

Not sure what you're asking.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/RickStrahl/Westwind.Globalization/issues/152#issuecomment-466195873, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNqo3_sHLjnQrFy6E1HwBTDarXScZKZks5vPx9YgaJpZM4bGaAg .

-- Thanks, Azhar

RickStrahl commented 5 years ago

Sorry but no. We don't know if the text is text or markup so there's no good way to tell. This seems to me needs to be handled in the calling application.