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

Commented Unassigned: detect code references in XAML does not work [4762]

$
0
0
Hi,
in XAML our code looks like

```
<Button Content="{l:Resource Key=Open, ResourceAssemblyBaseName=Company.Namespace.Properties.UIResources}"
HorizontalAlignment="Left"
Margin="0,5,0,0"></Button>
```

The Key ("Open" in the example) corresponds with the resource key. So I made a first try to to define an entry in the "Detect Code References" table like this:
.xaml \W($.Key)\W Case sensitive is checked

But the references in XAML are not found. The references found with the given .cs expressions are found correctly though. Did I made a mistake or is there a problem with XAML?
Comments: ** Comment from web user: tomenglert **

I'll have a look...


Source code checked in, #37653

$
0
0
Fix: reload settings when solution changes to track solution specific settings

Edited Unassigned: XmlException prevents ResX from loading [4763]

$
0
0
When I load a resource file in resx resource manager it comes blank (only keys are shown).

So I click on the refresh button and I get the attached messagebox with the exception stack trace, which is an InvalidOperationException: ... is not a valid RESX resource file:: No xml root. ---> ...XmlException: '', hexadecimal value 0x06, is an invalid character. Line 521, position 31.

The resource file does contain a xml root and line 521, position 31 does not contain any weird characters.
Comments:

The main purpose of this tool is to show all resources in one place, so I don't think loading only the selected files would be an improvement.

Edited Unassigned: Key generation [4764]

$
0
0
Hi,

is there an option to tweak the key generation?
Right now, "Move to Resource", generates a key like "_Page_Views_Shared__Layout_cshtml_ExecuteAsync_Telefon", I would prefer just "Telefon".
If that's not possible right now, can you add that to the wishlist?

TIA,
Thomas

EDIT: nevermind, only applies to shared views. Please close.
Comments:

There are so many opinions on how the keys should look like, it's impossible to make everyone happy.


The generated key is just a proposal, and since it's easier to delete some stuff than to type in missing parts, I put in every information available.

Commented Unassigned: Crash when switching project in VS2015 [4765]

$
0
0
Hi there,

I am getting a crash when I switch solution in TFS and trying to reopen the ResxManager.

WHat I do is the following:
-Open VS2015
-load a solution
-open resxmanager tools->Resxmanager
-select all the resx file
-switch solution
-re-open resxmanager (CRASH, app unresponsive)
Comments: What exactly do you mean by "switching solution"? Closing a solution and open another one?

Source code checked in, #37654

Source code checked in, #37655

Source code checked in, #37656


Source code checked in, #37657

Source code checked in, #37658

Released: V 1.0.0.91 (Nov 26, 2016)

$
0
0
Other places:
Visual Studio Extension Download
Reviews
GitHub

1.0.0.91:
  • WI4762: Solution specific configuration is not reloaded correctly when the solution changes.
1.0.0.90:
  • Support the new Azure translator.
1.0.0.89:
  • TT generated code does not require TomsToolbox.Desktop NuGet package by default.
  • Drop Support of VS2010 to be able to support VS2017. For VS2010 projects you can use V1.0.0.88 or the standalone version.
  • Support VS2017 RC
1.0.0.88:
  • WI4756: Change solution neutral language doesn't work.
1.0.0.87:
  • WI4746: Move To Resource dialog is empty.
  • WI6471, WI4722, WI4747: Add scripting module for automating resource tasks with PowerShell scripts.
1.0.0.86:
  • WI4723: Background saving / on-demand saving. (Configurable via options tab)
  • WI4740: Improved loading performance.
  • WI4741: Show less columns to improve scrolling performance.
  • WI4742: Remember size and position of window.
  • WI4743: Switching tabs loses sort and scroll info
  • WI4744: Show also language codes in the column headers.
1.0.0.85:
  • Speed up SelectGroupOnGroupHeaderClick.
  • Defer loading of resources until really needed to not interfere with solution load time.
  • Fix: Preserve comments in WinForms designer resources.
1.0.0.84:
  • WI4736: Fix crash if WebRequest.DefaultWebProxy is null.
1.0.0.83:
  • WI4736: ToolWindow fails to load if other extensions using different versions of DataGridExtensions are installed.
1.0.0.82:
  • Use .Net 4.5x to make use of "VirtualizingWhenGrouping" to speed up the grouped view whith large projects.
  • Bypass legacy SCM support when files are not read only.
  • Fix block copy of cells when columns have been reordered.
  • Double click on group header selects only the group.
1.0.0.81:
  • WI4716: Fix: Spell check is always disabled in Win7
  • Refresh of model is running too ofthen.
  • Add color schemed styles for windows.
  • WI4711: Shield packages against crashes when VS installation is broken.
1.0.0.80:
  • WI4721: Fix context menu style and some other visual improvements.
  • Improve speed of code reference tracker analysis (thanks to Pavel Kotrč!)
  • WI7419: Continue loading other projects if one fails.
  • WI4716: Another crash when starting elevated as different user due to unavailable spell checker.
  • WI4714: Preserve target culture selection for translations
  • "Move to Resource": include type and member name in key if possible
1.0.0.79:
  • WI1146: UI follows VS color themes.
  • WI4712: Error messages in output window when loading MPF (e.g. wix installer) projects
  • WI4709, 4717: Allways enable the add key button and show a hint if it's not possible to add one now.
  • WI4715: Excel export: Preserve leading whitespace.
  • WI4711: Avoid crash when VS is unable to create the view.
1.0.0.78:
  • "Move to Resource": many small improvements.
  • WI4707: New resource values are not saved / lost if Visual Localizer is installed.
  • WI4706: Crash when starting elevated as different user.
  • WI4703: Excel import from multiple sheet export is broken.
1.0.0.77:
  • WI4704: Unable to run extension (when there are broken items in the project)
  • WI4668: VS Crashes when showing lines with warnings (changing the filter while there are uncomitted changes in the data grid)
1.0.0.76:
  • WI4693: Automatically referencing System.ComponentModel.DataAnnotations.
  • WI4698: Changes in designer delete resources => disable "add" for WinForms designer resources.
  • WI4699: Use an invariant sortable name as default file name for snapshots.
  • WI4700: Open ResxManager to specific form resource.
  • WI4701: Crashes VS 2015 on click Configuration tab.
  • WI4702: Can't install your extension in new VS"15"Preview.
1.0.0.75:
  • Use new DGX to decouple resource location to resolve conflicts with other plugins.
1.0.0.74:
  • Fix missing synchronization of main table.
1.0.0.73:
  • WI4694: Fix load time degration.
  • WI4694: Bing Credentials not saving.
  • WI4669: "Move to resource" feature addeed.
1.0.0.72:
  • Speed up refresh of the grid
  • Allow regular expressions in the grids columns filters.
  • Improve filter tool tip in the project list.
  • Fix: new cultures are not instantly available for translation.
  • WI4689: After inserting a new key automatically scroll to the newly inserted key.
1.0.0.71:
  • Fix broken grouping view.
1.0.0.70:
  • WI4683: T4 Templates are added as build action "Content", should be "None".
  • WI4685: Cell selection should not be active by default.
  • WI4686: Trigger custom tool when any language changes.
  • WI4687: WinForms designer drops comments in resx, removing @Invariant.
  • WI4653: Keep sorting after file change.
1.0.0.69:
  • WI4680: Problem when copying/cutting unicode resource strings.
1.0.0.68:
  • Fix broken copy/paste for complex content.
1.0.0.67:
  • WI4650: Show namespace in the resource list (for project residing in the solution folder)
  • WI4651: Resources are not found if the resx file has a default namespace
  • WI4668: VS Crashes when showing lines with warnings
  • WI4660: Select & Copy in column mode
1.0.0.66:
  • WI4604, WI4638, WI4642: New snapshot feature allows to filter for changes (https://resxresourcemanager.codeplex.com/wikipage?title=Snapshots)
  • WI4657: Allow to enter tab characters in the top-right edit field.
1.0.0.65:
  • WI4646: Cannot add new key time to time - exception triggered.
  • WI4652: Code generator can be selected in the project list (VS Extension only).
  • WI4654: Properly handle xml files with encodings other than UTF8
1.0.0.64:
  • WI4645: VS extension fails to load: "The composition produced a single composition error. ..."
1.0.0.63:
  • WI4634: Fix: Duplicate keys prevent application to open.
  • WI4637: Entries can be ordered by specifying an index.
  • WI4641: Fix: ClickOnce Version crashes while browse for new directory (pre Vista systems only)
1.0.0.62:
  • WI1244: Transform text templates.
  • WI4636: File name collision in Excel export.
1.0.0.61:
  • WI4623: Fix: Value cannot be null
  • WI4622: Detect inconsistent string format parameters
1.0.0.60:
  • WI4630: Add New Key not working
1.0.0.59:
  • WI4610: Open ResxManager to an specific file
  • WI4625: One Button Click For All Locales
  • WI4623: Improve error logging
1.0.0.58:
  • WI4614: Regression in spreadsheet import
  • WI4621: excel import/export broken in 1.0.0.57
  • WI4615: App crashing when trying to load resx folder
  • WI4609: Issue with path length
1.0.0.57:
  • WI4595: Excel sheet name too long: Export can now be configured to create one single sheet.
1.0.0.56:
  • WI4592: Word wrap for the top-right edit box.
1.0.0.55:
  • WI4584: V 1.0.0.54 does not start in VS, only an exception is shown
1.0.0.54:
  • WI1360: Highlight entries where the RESX file is missing at all with a hatch brush.
  • WI1360: Add all missing RESX files. (Configurable)
  • WI4578: Mark auto-translated texts. Configurable prefix can be added.
  • WI4582: Translation not working from zh-CHT to zh-CHS.
1.0.0.53:
  • WI1171: Automatic translations. (fix some minor issues)
  • WI1434: Sort order when sorting RESX files by key is configurable.
  • WI1438: Link to translator homepage is broken in VS-Extension.
1.0.0.52:
  • WI1171: Automatic translations.
  • WI1435: Reuse translations.
1.0.0.51:
  • WI1420: Extend/fix default code reference detection patterns.
  • WI1421: Visibility of new added resource files.
  • WI1425: Improve keyboard navigation.
1.0.0.50:
  • WI1404: Improve error messages when Excel import fails
  • WI1407: XML declaration being improperly removed from saved resource file
  • WI1412: Paste should not clear existing text
  • WI1413: Support for RTL languages
1.0.0.49:
  • Added configuration page to support more features.
  • Detect code references algorithm is now fully configurable.
  • WI1359: FTP access -> FileNotFoundException.
  • WI1391: Show stats in status bar.
  • WI1321: Add an option to sort resx file content by key => on the configuration page.
1.0.0.48:
  • WI1388: Support VS2014 (CTP)
  • WI1378: Select first .resx file in list when opening window => select all, not only first.
  • WI1359: Improved column sizing experience.
1.0.0.47:
  • WI1384: "Add new key" shortcut not working - added "Shift+Ins" as alternative shortcut.
  • WI1359: Save column settings; visible/hidden columns are persisted during sessions.
  • WI1374: System.ArgumentException: Cannot add instance of type 'PopupFocusManagerBehavior' to a collection of type 'BehaviorCollection';
  • WI1375: Detect code references not detecting...; relax detection criteria.
  • WI1375: Flat View - show Project/Resx File Path on row hover; is shown in the status bar.
  • WI1381: Error in import from excel - Precondition failed: !string.IsNullOrEmpty(key); skip columns with data but empty key.
1.0.0.46:
  • WI1368: Some of the country flags are mixed up: Refined algorithm to lookup default flag for neutral culture; add overview of languages, flags for neutral cultures are editable.
  • WI1358: Add possibility to increase the font size: Default font size follows VS text size, supports zoom with "ctrl+mouse wheel" like in the VS text editor.
  • WI1361: Visual Studio 2012 crashes when turning on "Detect code references".
1.0.0.45:
  • WI1337: Export selection exports only selected lines and columns.
  • WI1338/1339: "Show only lines with missing strings" filters only the visible columns.
1.0.0.44:
  • WI1334: Delete is deleting too much. (after changing the key, an item stays selected without selection being visible)
  • WI1329: Crash when adding new resource file (try to avoid unnecesary refresh while adding new resource file)
1.0.0.43:
  • WI1327: ArgumentException when starting VS (occurred when ResXManager window is open but no solution is loaded)

Created Release: V 1.0.0.91 (Nov 26, 2016)

$
0
0
Other places:
Visual Studio Extension Download
Reviews
GitHub

1.0.0.91:
  • WI4762: Solution specific configuration is not reloaded correctly when the solution changes.
1.0.0.90:
  • Support the new Azure translator.
1.0.0.89:
  • TT generated code does not require TomsToolbox.Desktop NuGet package by default.
  • Drop Support of VS2010 to be able to support VS2017. For VS2010 projects you can use V1.0.0.88 or the standalone version.
  • Support VS2017 RC
1.0.0.88:
  • WI4756: Change solution neutral language doesn't work.
1.0.0.87:
  • WI4746: Move To Resource dialog is empty.
  • WI6471, WI4722, WI4747: Add scripting module for automating resource tasks with PowerShell scripts.
1.0.0.86:
  • WI4723: Background saving / on-demand saving. (Configurable via options tab)
  • WI4740: Improved loading performance.
  • WI4741: Show less columns to improve scrolling performance.
  • WI4742: Remember size and position of window.
  • WI4743: Switching tabs loses sort and scroll info
  • WI4744: Show also language codes in the column headers.
1.0.0.85:
  • Speed up SelectGroupOnGroupHeaderClick.
  • Defer loading of resources until really needed to not interfere with solution load time.
  • Fix: Preserve comments in WinForms designer resources.
1.0.0.84:
  • WI4736: Fix crash if WebRequest.DefaultWebProxy is null.
1.0.0.83:
  • WI4736: ToolWindow fails to load if other extensions using different versions of DataGridExtensions are installed.
1.0.0.82:
  • Use .Net 4.5x to make use of "VirtualizingWhenGrouping" to speed up the grouped view whith large projects.
  • Bypass legacy SCM support when files are not read only.
  • Fix block copy of cells when columns have been reordered.
  • Double click on group header selects only the group.
1.0.0.81:
  • WI4716: Fix: Spell check is always disabled in Win7
  • Refresh of model is running too ofthen.
  • Add color schemed styles for windows.
  • WI4711: Shield packages against crashes when VS installation is broken.
1.0.0.80:
  • WI4721: Fix context menu style and some other visual improvements.
  • Improve speed of code reference tracker analysis (thanks to Pavel Kotrč!)
  • WI7419: Continue loading other projects if one fails.
  • WI4716: Another crash when starting elevated as different user due to unavailable spell checker.
  • WI4714: Preserve target culture selection for translations
  • "Move to Resource": include type and member name in key if possible
1.0.0.79:
  • WI1146: UI follows VS color themes.
  • WI4712: Error messages in output window when loading MPF (e.g. wix installer) projects
  • WI4709, 4717: Allways enable the add key button and show a hint if it's not possible to add one now.
  • WI4715: Excel export: Preserve leading whitespace.
  • WI4711: Avoid crash when VS is unable to create the view.
1.0.0.78:
  • "Move to Resource": many small improvements.
  • WI4707: New resource values are not saved / lost if Visual Localizer is installed.
  • WI4706: Crash when starting elevated as different user.
  • WI4703: Excel import from multiple sheet export is broken.
1.0.0.77:
  • WI4704: Unable to run extension (when there are broken items in the project)
  • WI4668: VS Crashes when showing lines with warnings (changing the filter while there are uncomitted changes in the data grid)
1.0.0.76:
  • WI4693: Automatically referencing System.ComponentModel.DataAnnotations.
  • WI4698: Changes in designer delete resources => disable "add" for WinForms designer resources.
  • WI4699: Use an invariant sortable name as default file name for snapshots.
  • WI4700: Open ResxManager to specific form resource.
  • WI4701: Crashes VS 2015 on click Configuration tab.
  • WI4702: Can't install your extension in new VS"15"Preview.
1.0.0.75:
  • Use new DGX to decouple resource location to resolve conflicts with other plugins.
1.0.0.74:
  • Fix missing synchronization of main table.
1.0.0.73:
  • WI4694: Fix load time degration.
  • WI4694: Bing Credentials not saving.
  • WI4669: "Move to resource" feature addeed.
1.0.0.72:
  • Speed up refresh of the grid
  • Allow regular expressions in the grids columns filters.
  • Improve filter tool tip in the project list.
  • Fix: new cultures are not instantly available for translation.
  • WI4689: After inserting a new key automatically scroll to the newly inserted key.
1.0.0.71:
  • Fix broken grouping view.
1.0.0.70:
  • WI4683: T4 Templates are added as build action "Content", should be "None".
  • WI4685: Cell selection should not be active by default.
  • WI4686: Trigger custom tool when any language changes.
  • WI4687: WinForms designer drops comments in resx, removing @Invariant.
  • WI4653: Keep sorting after file change.
1.0.0.69:
  • WI4680: Problem when copying/cutting unicode resource strings.
1.0.0.68:
  • Fix broken copy/paste for complex content.
1.0.0.67:
  • WI4650: Show namespace in the resource list (for project residing in the solution folder)
  • WI4651: Resources are not found if the resx file has a default namespace
  • WI4668: VS Crashes when showing lines with warnings
  • WI4660: Select & Copy in column mode
1.0.0.66:
  • WI4604, WI4638, WI4642: New snapshot feature allows to filter for changes (https://resxresourcemanager.codeplex.com/wikipage?title=Snapshots)
  • WI4657: Allow to enter tab characters in the top-right edit field.
1.0.0.65:
  • WI4646: Cannot add new key time to time - exception triggered.
  • WI4652: Code generator can be selected in the project list (VS Extension only).
  • WI4654: Properly handle xml files with encodings other than UTF8
1.0.0.64:
  • WI4645: VS extension fails to load: "The composition produced a single composition error. ..."
1.0.0.63:
  • WI4634: Fix: Duplicate keys prevent application to open.
  • WI4637: Entries can be ordered by specifying an index.
  • WI4641: Fix: ClickOnce Version crashes while browse for new directory (pre Vista systems only)
1.0.0.62:
  • WI1244: Transform text templates.
  • WI4636: File name collision in Excel export.
1.0.0.61:
  • WI4623: Fix: Value cannot be null
  • WI4622: Detect inconsistent string format parameters
1.0.0.60:
  • WI4630: Add New Key not working
1.0.0.59:
  • WI4610: Open ResxManager to an specific file
  • WI4625: One Button Click For All Locales
  • WI4623: Improve error logging
1.0.0.58:
  • WI4614: Regression in spreadsheet import
  • WI4621: excel import/export broken in 1.0.0.57
  • WI4615: App crashing when trying to load resx folder
  • WI4609: Issue with path length
1.0.0.57:
  • WI4595: Excel sheet name too long: Export can now be configured to create one single sheet.
1.0.0.56:
  • WI4592: Word wrap for the top-right edit box.
1.0.0.55:
  • WI4584: V 1.0.0.54 does not start in VS, only an exception is shown
1.0.0.54:
  • WI1360: Highlight entries where the RESX file is missing at all with a hatch brush.
  • WI1360: Add all missing RESX files. (Configurable)
  • WI4578: Mark auto-translated texts. Configurable prefix can be added.
  • WI4582: Translation not working from zh-CHT to zh-CHS.
1.0.0.53:
  • WI1171: Automatic translations. (fix some minor issues)
  • WI1434: Sort order when sorting RESX files by key is configurable.
  • WI1438: Link to translator homepage is broken in VS-Extension.
1.0.0.52:
  • WI1171: Automatic translations.
  • WI1435: Reuse translations.
1.0.0.51:
  • WI1420: Extend/fix default code reference detection patterns.
  • WI1421: Visibility of new added resource files.
  • WI1425: Improve keyboard navigation.
1.0.0.50:
  • WI1404: Improve error messages when Excel import fails
  • WI1407: XML declaration being improperly removed from saved resource file
  • WI1412: Paste should not clear existing text
  • WI1413: Support for RTL languages
1.0.0.49:
  • Added configuration page to support more features.
  • Detect code references algorithm is now fully configurable.
  • WI1359: FTP access -> FileNotFoundException.
  • WI1391: Show stats in status bar.
  • WI1321: Add an option to sort resx file content by key => on the configuration page.
1.0.0.48:
  • WI1388: Support VS2014 (CTP)
  • WI1378: Select first .resx file in list when opening window => select all, not only first.
  • WI1359: Improved column sizing experience.
1.0.0.47:
  • WI1384: "Add new key" shortcut not working - added "Shift+Ins" as alternative shortcut.
  • WI1359: Save column settings; visible/hidden columns are persisted during sessions.
  • WI1374: System.ArgumentException: Cannot add instance of type 'PopupFocusManagerBehavior' to a collection of type 'BehaviorCollection';
  • WI1375: Detect code references not detecting...; relax detection criteria.
  • WI1375: Flat View - show Project/Resx File Path on row hover; is shown in the status bar.
  • WI1381: Error in import from excel - Precondition failed: !string.IsNullOrEmpty(key); skip columns with data but empty key.
1.0.0.46:
  • WI1368: Some of the country flags are mixed up: Refined algorithm to lookup default flag for neutral culture; add overview of languages, flags for neutral cultures are editable.
  • WI1358: Add possibility to increase the font size: Default font size follows VS text size, supports zoom with "ctrl+mouse wheel" like in the VS text editor.
  • WI1361: Visual Studio 2012 crashes when turning on "Detect code references".
1.0.0.45:
  • WI1337: Export selection exports only selected lines and columns.
  • WI1338/1339: "Show only lines with missing strings" filters only the visible columns.
1.0.0.44:
  • WI1334: Delete is deleting too much. (after changing the key, an item stays selected without selection being visible)
  • WI1329: Crash when adding new resource file (try to avoid unnecesary refresh while adding new resource file)
1.0.0.43:
  • WI1327: ArgumentException when starting VS (occurred when ResXManager window is open but no solution is loaded)

Created Unassigned: Error importing from Excel [4767]

$
0
0
Hi,
I get the below error when trying to import from Excel.
This excel file is a file that has been generated with ResxManager, then some translations added then can't import any more.
Please help.
Thanks.

![Image](http://img4.hostingpics.net/pics/149763Capture.png)

Commented Unassigned: Error importing from Excel [4767]

$
0
0
Hi,
I get the below error when trying to import from Excel.
This excel file is a file that has been generated with ResxManager, then some translations added then can't import any more.
Please help.
Thanks.

![Image](http://img4.hostingpics.net/pics/149763Capture.png)
Comments: ** Comment from web user: tomenglert **

As the message says, it can't parse one of the language names in the header row.
Make sure that only translations were added, and the structure of the table did not change.

Source code checked in, #37674

$
0
0
Do not create empty resource files during Excel import

Source code checked in, #37675

Updated Wiki: Home

$
0
0

ResX Resource Manager Badge

Manage localization of all ResX-Based resources in one central place.

This tool provides central access to all ResX-based string resources in your solution. You can quickly navigate through all resource files and view the content in a well-arranged data grid.
All available languages are displayed side by side in columns, to make it easy to find untranslated strings or clean up orphaned entries. All strings can be quickly edited in place, untranslated entries will be created on the fly while typing.

Suitable for any .Net application; WPF is supported if you use the x:Static markup extension to access the ResX - resources.

Available as VS2012-2017 extension and as standalone executable to support VS2010 and older.

The Visual Studio Extension is available from the downloads page, from the Visual Studio Gallery, or by searching for RESX in the Visual Studio extension manager.

Extension.png

Standalone.png

 
Powerd by   ReSharper   CodeContracts 

Support this Project: Donate

Source code checked in, #37676

Edited Unassigned: Error importing from Excel [4767]

$
0
0
Hi,
I get the below error when trying to import from Excel.
This excel file is a file that has been generated with ResxManager, then some translations added then can't import any more.
Please help.
Thanks.

![Image](http://img4.hostingpics.net/pics/149763Capture.png)

Commented Unassigned: Crash on "Move to resource" [4766]

$
0
0
Hi,

recently I'm experiencing this error, that, when I'm selecting text to move in my C# code, and do:
- right click
- click on "Move to resource"

I'm getting this attached error message, which says nothing to me.
As you see on my screen, I have more than one RESX file in this project - so, maybe that is cause of problem -, but only one is made default.

Besides that - I cannot see any values for existing keys in RESX files, and when dark theme is set in Visual Studio - ResX Resource Manager icons are poorly visible, especially those checked.
Comments:

Without additional info I can't do much, as those screen shots say nothing about the root cause.


Pleas provide more info, else I have to close this.

Viewing all 2435 articles
Browse latest View live


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