dotnet / resxresourcemanager Goto Github PK
View Code? Open in Web Editor NEWManage localization of all ResX-Based resources in one central place.
License: MIT License
Manage localization of all ResX-Based resources in one central place.
License: MIT License
I've tried to import an Excel file with 49 Languages. The last two columns are .ar-IQ (empty) and .zh-IQ. The tool imports the .zh-IQ column into .ar-IQ and .zh-CN resx file. :-(
Take, for example, a language that has a number of sub-cultures with only few cases of different spellings:
It would be great if there was an option to set something like @Invariant
or @MarkAsTranslated
for individual locales; essentially marking empty translations as translated (rather than having loads of empty strings being flagged-up as untranslated).
For example, in en-GB
you could essentially set everything to invariant - everything but those few strings that have different spellings (e.g. "colour", "organisation", and so forth).
Do you have any plans for localization recently?
Blank cell in excel-sheet is ignored while importing. So it is not possible to remove translated text in resources by excel import.
IDE: Visual Studio 2015
ResXResourceManager version : 1.3.515
In translate tab, I want to apply the translate result to resource file.
In previous version, if resource file of target language isn't exist, ResXResourceManager will pop a dialog box asking that do I want to add the resource file to project or not.
But in version 1.3.515, Visual Studio crash on apply translate result to resource file if the resource file isn't exist.
Hello, I'm trying to paste the excel data but I'm getting the following error:
Error parsing the data from clipboard: The data you're pasting isn't the same size as your selection.
Is there any format so I can copy and paste?
Tks
I use the azure translation option in the ResX Resource Manager to translate from english to chinese simple (zh-Hans). The translated text of Azure is always traditional. Is there an option in the program which I have to set for it.
For example:
"Hilfe"
Traditional Chinese: 幫助
Simplified Chinese: 帮助
I was trying the new version of scripting (1.0.0.99) and I am getting the following error. Its working fine in 1.0.0.96. It could be introduced between 1.0.0.97-99.
New-Object : Exception calling ".ctor" with "0" argument(s): "No exports were found that match the constraint:
ContractName ResXManager.Scripting.SourceFilesProvider
RequiredTypeIdentity ResXManager.Scripting.SourceFilesProvider"
At C:\GetContents\Scripting\Sample.ps1:8 char:11
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:11 char:1
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
All entires: 0
Changes compared to snapshot:
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:36 char:1
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:39 char:17
Where-Object { $_.Values.GetValue($neutralCulture) -ne $_.SnapshotValues.GetVal ...
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Number of changes: 0
Now you can modify the excel file: C:\temp\export\Test.xlsx:
Importing modified excel file
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:64 char:1
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:66 char:1
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Create a new snapshot with the latest data? (Y/N): Y
Updating snaphot C:\temp\export\1.snapshot
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:72 char:2
$snapshot = $myhost.CreateSnapshot()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Done:
You cannot call a method on a null-valued expression.
At C:\GetContents\Scripting\Sample.ps1:77 char:1
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Hey. Beforehand I would like to thank you for this amazing tool. It is incredible!
I Noticed the Detect Code References in configuration. I would like to know if it is possible to detect keys using a regex and automatically add them to the resx files. I know there is a Move to Resource option, but I would like to do it automatically.
Thanks in advance
Hi
First of all, thanks for creating an awesome extension for managing translations!
I keep wondering why there are so few good localization tools out there and even the good ones usually lack one feature or the other. However, with your extension, I am very happy so far.
There is one (hopefully small) feature request I have:
Would it be possible to create/update secondary .resx files with the <DependentUpon>
tag so that they show up as sub-items to the neutral language .resx file?
I do this for all my .resx files manually and it helps a lot with keeping the solution nicely structured instead of having many similar files that are rarely edited clutter up the view.
It could be added as an optional feature that can be enabled in the configuration, maybe even with a button to update all existing .resx files in the same manner (same as with the "Sort all files now" button).
The resulting view in the Solution Explorer would be like this:
+ Solution
+ Project
- FileA.cs
+ ResourceA.resx
- ResourceA.de.resx
- ResourceA.fr.resx
There is only 3 languages enable for resources? Can we add our custom language? For example russian, kyrgyz languages
With a large project with many languages and many untranslated strings switching to the translation view blocks VS for minutes.
The Languages
tab doesn't appear to have a way to scroll vertically. So some of the English language variants are not visible as they are off the bottom of the screen.
On my monitor, even with the app maximized, the last English variant I see is en-LS.
I tried scrolling using down arrow, page down, mouse scroll wheel.
If I reduce the size of the program window other languages with lots of cultures are also truncated.
A checkbox/toggleButton to optionally activate text wrapping for long one-liners would be a nice UX improvement. Currently, while translating, I keep giving focus back to the neutral string to view it in the resizable preview panel at the top.
Amazing tool, keep up the great work!
Is there any support coming in way to manage Xamarin.Android and Xamarin.iOS resource files?
I use version 1.8.767.
After adding a new key in .resx file through ResX Manager code-behind file regeneration doesn't occur. It happens only if I open .resx file and change Access Modifier setting.
Could you add default neutral language value same as key?
For instance for key "FeatureRequest" it can be "Feature request".
I think it should be very useful. Thanks.
Hi all.
After last update my visual studio 2015 became really slow on save, even if no change to file is made.
If i disable resx manager vs works fine.
Is there any way i can help?
Thank you
When right clicking a .resx file it opens the manager and loads all keys, then filter to the specific .resx scope afterwards. This takes considerable time when your solution has around 15.000 keys. Wouldn't it be more efficient to defer loading of all keys untill you search?
Edit:
What I am suggesting is that if you open the ResXmanger from the right click context menu of a ResX file, it doesn't try to load all keys in the solution and instead loads keys related to that specific .resx file (for all languages), to decrease loading time.
Used this project for ages, worked fine. Now after latest visual studio update i'm getting an error when i start it up. I see the following error below:
ResX Resource Manager loaded.
Home: https://github.com/tom-englert/ResXResourceManager
Report issues: https://github.com/tom-englert/ResXResourceManager/issues
Support the project by adding a short review: https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager#review-details
Error: System.Windows.Markup.XamlParseException: Collection property 'Microsoft.Expression.Interactivity.Core.PropertyChangedTrigger'.'Actions' is null. ---> System.Xaml.XamlObjectWriterException: Collection property 'Microsoft.Expression.Interactivity.Core.PropertyChangedTrigger'.'Actions' is null.
at System.Xaml.XamlObjectWriter.WriteGetObject()
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at tomenglertde.ResXManager.View.Visuals.ResourceView.InitializeComponent() in C:\Agent_work\9\s\ResXManager.View\Visuals\ResourceView.xaml:line 1
at tomenglertde.ResXManager.View.Visuals.ResourceView..ctor(ICompositionHost compositionHost) in C:\Agent_work\9\s\ResXManager.View\Visuals\ResourceView.xaml.cs:line 55
Assembly location: C:\Users\menow\AppData\Local\Microsoft\VisualStudio\15.0_7ea3f58a\Extensions\1tc1ejl2.ata
Version: 1.3.515.0
The VS add-in does not reflect the neutral language selected in the header of the "Neutral" column.
In the AssemblyInfo.cs file, you can set the neutral language for an assembly:
[assembly: NeutralResourcesLanguage("nn-NO")]
However, no matter how this is set, an American flag is flying over the column. This is misleading. Either the flag of the neutral culture should be used, or the flag should be omitted for this column.
When we open the manger is often crashes VS2017. This also happens when we search with the checkmark on. We have one solution with several thousand keys, in around one hundred different resource files with four languages(for now). It would be nice with a setting that set it to default not have the 'search checkmark' checked when opening the manager.
Hi!
We would like the possibility to skip the creation of empty resx files when importing from excel.
Our concrete use case is, that we are using country variant cultures and only a few of our resources actually need a country variant localization. Therefore, during the import there are a lot of empty .resx files added, which are going to stay empty and only clutter the solution or need to be removed manually.
Our use case could be fixed by an additional configuration entry in the "File Creation" category, with something like: "Do not create empty resource files.".
As we need this feature, we are going to implement this in a fork anways and provide the change in a pull request during the coming week. Are there any concerns/ideas you want to add?
Is it possible to add ListViewItem.Text to the translatable resources? I know it's saved as a binary blob, but it would be really useful to my project.
Hi,
When I try to add a language in the resourcemanager the generated file has a wrong name.
let's say I have a folder Resource/Views/User
And it contains a resource file Index.nl.resx
If I add a language (eg. english) the generated file is: Index.nl.en.resx (and not Index.en.resx)
I had change my default language to portuguese and this information is saved into solution file, link this:
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_NeutralResourcesLanguage = pt-BR
RESX_PrefixTranslations = False
EndGlobalSection
But every time I change a resource with resxmanager the VisualStudio changes the configuration position in solution file, like this:
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_PrefixTranslations = False
RESX_NeutralResourcesLanguage = pt-BR
EndGlobalSection
It's possible to save this preference only when I was changed and avoid Visual Studio changes the solution file every time?
Hello HelpDesk,
I have encountered the below error when installing the ResX Resource Manager
https://github.com/tom-englert/ResXResourceManager
May i know how to solve it?
Thanks,
Irene
Could you change the word Downloads page to Release page since download page no longer exists? This is bit confusing for the end user.
Pages needs to be changed
https://github.com/tom-englert/ResXResourceManager/wiki/Installation
https://github.com/tom-englert/ResXResourceManager/wiki/Scripting
Also you could add hyperlink to the release page for better usability. I don't know how to create a pull request for the wiki; otherwise I could have done that.
The application key for azure translations is not saved.
After closing and restarting VS2017 the field is empty.
Resources reference have to work only on selected files, not all files.
I have some large individual resources (e-mail templates, cca. 11k characters). ResX manager hangs completely when trying to open them and the only solution is killing visual studio. The same happens with the standalone version.
I can get it to at least export the resource (by never double clicking so I don't go into edit mode) so I can edit it in excel and import it back, but even this can take a long time.
While not the best use case for resx files, the default VS resource editor can handle them. Is there any chance some optimizations could be made?
Hi, first of all - best extension ever!
And now to the problem:
I have a Solution in Visual studio 2015 with around 20ish projects.
Most of the projects are libraries and what not, and they are all included into one main project.
I've started localizing stuff in it and here's what I do and get:
Both in xaml or c# code:
Now there's more:
4. If i press "New entry" it selects under resources (picture 2) Properties\FiscalErrors (other Resx file that is not default), Code appears and Key is empty.
5. And now if i press Reuse existing again - check picture 3 - It selects the correct Key in Properties\Resources which is great, but code part is Wrong, it gives me x:Static properties:FiscalErrors... instead of x:Static properties:Resources...
i hope this is helpfull in debugging, if you need more info please ask.
Hi all,
can you tell how can I setup key to: Namespace+ClassName+Property...
Thanks.
ResX Resource Manager loaded.
Home: http://resxresourcemanager.codeplex.com/
Report issues: http://resxresourcemanager.codeplex.com/workitem/list/basic
Support the project by adding a short review: http://visualstudiogallery.msdn.microsoft.com/3b64e04c-e8de-4b97-8358-06c73a97cc68/view/Reviews
Error: System.Windows.Markup.XamlParseException: 设置属性“System.Windows.ResourceDictionary.DeferrableContent”时引发了异常。 ---> System.Xaml.XamlObjectWriterException: 设置属性“System.Windows.ResourceDictionary.DeferrableContent”时引发了异常。 ---> System.Xaml.XamlObjectWriterException: 在“MS.Internal.Markup.StaticExtension”上提供值时引发了异常。 ---> System.ArgumentException: 无法将“TomsToolbox.Wpf.ResourceKeys.AutoToolTipTextBoxStyleKeyName”StaticExtension 值解析为枚举、静态字段或静态属性。
在 System.Windows.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider)
在 MS.Internal.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider)
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- 内部异常堆栈跟踪的结尾 ---
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
在 System.Xaml.XamlObjectWriter.Logic_ProvideValue(ObjectWriterContext ctx)
在 System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
在 System.Xaml.XamlObjectWriter.WriteEndObject()
在 System.Xaml.XamlWriter.WriteNode(XamlReader reader)
在 System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
在 System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList(XamlReader reader, IServiceProvider serviceProvider)
在 System.Windows.ResourceDictionary.GetKeyValue(KeyRecord key, IServiceProvider serviceProvider)
在 System.Windows.ResourceDictionary.SetKeys(IList1 keyCollection, IServiceProvider serviceProvider) 在 System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent) 在 System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0(Object target, Object value) 在 System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value) --- 内部异常堆栈跟踪的结尾 --- 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value) 在 MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(Object obj, XamlMember property, Object value) 在 System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent) 在 System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx) 在 System.Xaml.XamlObjectWriter.WriteEndMember() 在 System.Xaml.XamlWriter.WriteNode(XamlReader reader) 在 System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) 在 System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter) 在 System.Windows.SystemResources.ResourceDictionaries.LoadDictionary(Assembly assembly, String assemblyName, String resourceName, Boolean isTraceEnabled, Uri& dictionarySourceUri) 在 System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary(Boolean isTraceEnabled) 在 System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache) 在 System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference) 在 System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source) 在 System.Windows.StaticResourceExtension.FindResourceInAppOrSystem(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference) 在 System.Windows.StaticResourceExtension.FindResourceInEnviroment(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference) 在 System.Windows.StaticResourceExtension.TryProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference) 在 System.Windows.ResourceDictionary.SetOptimizedStaticResources(IList
1 staticResources, IServiceProvider serviceProvider, StaticResourceExtension staticResourceWorker)
在 System.Windows.ResourceDictionary.SetKeys(IList1 keyCollection, IServiceProvider serviceProvider) 在 System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent) 在 System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0(Object target, Object value) 在 System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value) --- 内部异常堆栈跟踪的结尾 --- 在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) 在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) 在 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator) 在 tomenglertde.ResXManager.View.Visuals.ResourceView.InitializeComponent() 位置 C:\Agent\_work\3\s\Main\ResXManager.View\Visuals\ResourceView.xaml:行号 1 在 tomenglertde.ResXManager.View.Visuals.ResourceView..ctor(ExportProvider exportProvider) 位置 C:\Agent\_work\3\s\Main\ResXManager.View\Visuals\ResourceView.xaml.cs:行号 52 Error: System.Windows.Markup.XamlParseException: 在“System.Windows.StaticResourceExtension”上提供值时引发了异常。 ---> System.Xaml.XamlObjectWriterException: 设置属性“System.Windows.ResourceDictionary.DeferrableContent”时引发了异常。 ---> System.Xaml.XamlObjectWriterException: 在“MS.Internal.Markup.StaticExtension”上提供值时引发了异常。 ---> System.ArgumentException: 无法将“TomsToolbox.Wpf.ResourceKeys.AutoToolTipTextBoxStyleKeyName”StaticExtension 值解析为枚举、静态字段或静态属性。 在 System.Windows.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider) 在 MS.Internal.Markup.StaticExtension.ProvideValue(IServiceProvider serviceProvider) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider) --- 内部异常堆栈跟踪的结尾 --- 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider) 在 System.Xaml.XamlObjectWriter.Logic_ProvideValue(ObjectWriterContext ctx) 在 System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx) 在 System.Xaml.XamlObjectWriter.WriteEndObject() 在 System.Xaml.XamlWriter.WriteNode(XamlReader reader) 在 System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter) 在 System.Windows.ResourceDictionary.EvaluateMarkupExtensionNodeList(XamlReader reader, IServiceProvider serviceProvider) 在 System.Windows.ResourceDictionary.GetKeyValue(KeyRecord key, IServiceProvider serviceProvider) 在 System.Windows.ResourceDictionary.SetKeys(IList
1 keyCollection, IServiceProvider serviceProvider)
在 System.Windows.ResourceDictionary.SetDeferrableContent(DeferrableContent deferrableContent)
在 System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_ResourceDictionary_DeferrableContent>b__297_0(Object target, Object value)
在 System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
--- 内部异常堆栈跟踪的结尾 ---
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
在 MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(Object obj, XamlMember property, Object value)
在 System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
在 System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
在 System.Xaml.XamlObjectWriter.WriteEndMember()
在 System.Xaml.XamlWriter.WriteNode(XamlReader reader)
在 System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
在 System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter)
在 System.Windows.SystemResources.ResourceDictionaries.LoadDictionary(Assembly assembly, String assemblyName, String resourceName, Boolean isTraceEnabled, Uri& dictionarySourceUri)
在 System.Windows.SystemResources.ResourceDictionaries.LoadGenericDictionary(Boolean isTraceEnabled)
在 System.Windows.SystemResources.FindDictionaryResource(Object key, Type typeKey, ResourceKey resourceKey, Boolean isTraceEnabled, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, Boolean& canCache)
在 System.Windows.SystemResources.FindResourceInternal(Object key, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference)
在 System.Windows.FrameworkElement.FindResourceInternal(FrameworkElement fe, FrameworkContentElement fce, DependencyProperty dp, Object resourceKey, Object unlinkedParent, Boolean allowDeferredResourceReference, Boolean mustReturnDeferredResourceReference, DependencyObject boundaryElement, Boolean isImplicitStyleLookup, Object& source)
在 System.Windows.StaticResourceExtension.FindResourceInAppOrSystem(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference)
在 System.Windows.StaticResourceExtension.FindResourceInEnviroment(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference)
在 System.Windows.StaticResourceExtension.TryProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference, Boolean mustReturnDeferredResourceReference)
在 System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
在 System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
在 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
在 tomenglertde.ResXManager.View.Visuals.TranslationsView.InitializeComponent() 位置 C:\Agent_work\3\s\Main\ResXManager.View\Visuals\TranslationsView.xaml:行号 1
在 tomenglertde.ResXManager.View.Visuals.TranslationsView..ctor(ExportProvider exportProvider) 位置 C:\Agent_work\3\s\Main\ResXManager.View\Visuals\TranslationsView.xaml.cs:行号 33
Assembly location: C:\Users\Silas\AppData\Local\Microsoft\VisualStudio\14.0\Extensions\jqe51gya.co4
Version: 1.0.0.93
DTE event: Document saved
DTE event: Document saved
DTE event: Document saved
DTE event: Document saved
DTE event: Document opened
I have a asp.net core with resources in an other project.
When i open the Resx Manager the first time, visual studio stop responding.
The next time i have open it, it worked.
Just want to let you know ;-)
I cannot open a resource, using Visual Studio. When I click to view a .resx on ResX Resource Manager it just simply don't open and I can't figure out what's going on.
The cat walks on the keyboard and I lose data. Or I make a mistake and type in the wrong row because the grid is super slow to scroll or respond to other display changes, and I lose data. This is a terrific program but the behind-the-scenes spreadsheet grid control is too slow and the lack of a commit button or undo option is making me really hate this thing.
Please consider adding a commit button and not push changes to all of the resource files when anything changes.
[edit]
I then thought, maybe there is a way to turn off that auto-update feature. Sure enough, there is an option. I don't know exactly when the update will happen though! Thanks for making it an option to not push changes immediately, it is much appreciated.
Just as title says. Would be great to have this extension on VS for Mac.
I have created a custom component by using Html Helper in ASP.NET MVC. Also, did the same logic in ASP.NET Core platform.
My component will be working fine, when I have set the properties. Now I am trying to include one additional support like displaying custom contents (like images, html elements and text) with in my component like in dialog component.
In ASP.NET MVC, I have received the inner content from “System.Web.WebPages.HelperResult” this namespace. But ASP.NET Core, I’m unable to get my component inner content which will be mentioned in my view page.
In ASP.NET Core, I’m trying to get the content from “Microsoft.AspNet.Mvc.Razor.HelperResult” namespace. But unfortunately, the expected result was unable to get from this namespace. Even, I don’t know how to get from this namespace (even surfing in internet no ideas about this).
If there is any alternative options to get the result in ASP.NET Core platform or any possible way, please suggest to me!
Please, find the issue in the attached image.
Tried all of the exe in the zip.
Got this error.
Please implement calculation of ALL references in code.
Not only for:
Resource.My_Resource_Key
but also for these references:
(Key name is on other code-line)
Resource
.My_Resource_Key
Usage in attrubutes, for example:
[RangeValidation(
1.0,
double.PositiveInfinity,
ErrorMessageResourceName = "My_Resource_Key",
ErrorMessageResourceType = typeof(Resource),
Severity = ValidationSeverity.Warning
)]
Lovely extension, but it absent very useful feature - automatic resource key sorting on save. Sorted resx files much easier to merge when multiple developers changed same resx.
It would be very nice to see all good resx tools in one extension. What authors think about it?
Working with ResXResourceManager is saving a lot of time. Unfortunately the development progress is fast and once used values are gone in the next version from the main .resx-file leading to not used translation in other language .resx-file remain.
So I'm wondering if it is possible to add some kind of 'clean-up' function to this awesome tool, removing entries from translated resx-files if the corresponding one in the 'main'-resx file is gone.
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
Hi,
I've been using the tool with no issues for a whole day. Then suddenly when I reopened my VS, I cannot see the "Neutral" language column anymore. I can open any other language and see both the translations and the comments.
Using the 1.5 release with Visual Studio 15.3.4 within a C# 4.7 project the "When saving a RESX file, sort the XML data nodes by the key" Sort using: "OrdinalIgnoreCase" doesn't sort the RESX files after adding a new key.
Also "Sort all files now" crashes visual studio.
Another bug, pressing ctrl+s doesn't save any changes, clicking the save-all button does.
Would be great if warnings and errors (missing translations, string format mismatches, etc.) could be logged to the VisualStudio ErrorList Window and/or the Output Window.
I'm aware of the "show only lines with warnings and changes" feature but I would really like to see these warnings in the log.
ErrorListProvider might be the way to go: https://msdn.microsoft.com/en-us/library/microsoft.visualstudio.shell.errorlistprovider(v=vs.140).aspx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.