Opened 17 years ago

Closed 17 years ago

#1014 closed New Feature (wontfix)

Support for label resources in resx

Reported by: fmtp Owned by:
Priority: Normal Milestone:
Component: Server : ASP.Net Version:
Keywords: Cc:

Description

I'm using the .NET FCKEditor and i would like to have a .resx file with all the labels of the editor(including plug-ins), so i can manipulate/change them on server side. Or at least have a way to access and manipulate the labels.

Change History (3)

comment:1 Changed 17 years ago by Frederico Caldeira Knabben

Component: GeneralServer : ASP.Net
Summary: ASP.NET FCKeditorControl - support for label resources in resxSupport for label resources in resx

I don't see much chances to have those labels in a resx file as they are all set in JavaScript files inside "editor/lang".

Would not be a bad idea instead to have ways to add and "override" language entries from the server side, for specific customizations. Do you have a usage example you have for it?

Also, the files in the lang folder have a standard format, so it would be quite easy to read the file by code, access and modify entries there if needed.

comment:2 Changed 17 years ago by fmtp

All the language entries of my application are in resx files. These files are then given to a documentation/translation team that will review/translate them. I need to have the FCKEditorControl labels also in resx files, instead of js files.

Wouldn't it be possible to have resx files with the labels of the control and plugins, and make the .NET control override the js definitions (var FCKLang) with the resx entries?

If this is not feasible, i could build the resx myself and override the js definition with the resx entries, but, for this, it was usefull to have a way to "override" language entries from the server side...

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: wontfix
Status: newclosed

For now, we'll not provide those entries in resx files. It would be a maintainance nightmare, and it would be quite easy to have outdated resx files, as FCKeditor.Net is not released so often as the FCKeditor core.

For the override possibility from the server side, I've opened #1032, but I would not expect to have it that soon. So, in your specific case I would recommend a transformation JavaScript -> Resource File -> JavaScript.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy