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

Commented Unassigned: Resources always not visibible [1153]

$
0
0
If resources is not incorporated or Custom tool is empty Resx manager not showing it...

I have a custom T4 tool for the compilation of resources ...

Sorry for my bad english...
Comments: ** Comment from web user: lorenzocostalunga **

The update button does not work.

If you add an empty resource your tool not see it.

Try adding and removing localized resource files ... ResX Manager does not update the list properly.


New Post: How to remove orphaned entries?

$
0
0
Thanks for quick answer,. I have modified the powershell code below to clean up unused resx elements. It is inspired from another script. I am not sure how easy this would be to adapt to ResXManager, but the script works perfectly.
# Script: Removed unused resx strings in a single file:
# How to use: Run this command from powershell: Fix-Resx D:\Res.resx D:\trunk -filepattern *.cs, *.cshtml, *.aspx
# - this command will look through .cs, .cshtml, and .aspx files for unused resx values in a file called Res.resx file.
# original: http://www.sepago.de/d/holger/2010/07/05/how-to-clean-up-resx-files-with-powershell

function Fix-Resx
{
     [CmdletBinding()]
     param
     (
         [Parameter(Position=0, Mandatory=$true)]
         [ValidateNotNullOrEmpty()]
        [System.String]
         $resourceFile,

         [Parameter(Position=1, Mandatory=$true)]
         [ValidateNotNullOrEmpty()]
        [System.String]
         $rootPath,
 
        [Parameter(Mandatory=$true)]
         [ValidateNotNullOrEmpty()]
        [System.String[]]
         $filePattern
     )

     if ((Test-Path $resourceFile) -eq $false)
     {
         Write-Output ""
         Write-Output "File" $resourceFile "doesn't exist."
         Write-Output ""
         return
     }
     # Read the resource file
     [xml]$xml = get-content $resourceFile
 
    # Check for any resources
     if ($xml.root.data -eq $null)
     {
         Write-Output ""
         Write-Output "File" $resourceFile "contains no resource identifiers."
         Write-Output ""
         return
     }
 
    # Extract the resource identifiers
     $identifiers = @()
     foreach ($elem in $xml.root.data) { $identifiers += $elem.GetAttribute("name") }
 
    # Get all the files in the root path that match the pattern. Exclude the resource designer file
    $resourceDesignerFiles = (Get-Item $resourceFile).PSChildName.Replace(".resx", ".*Designer.cs")
     $files = gci $rootPath -recurse -include $filePattern -Exclude $resourceDesignerFiles
 
    # Iterate the identifiers and look for references in the files
     $found = @()
     foreach ($identifier in $identifiers)
    {
         foreach ($file in $files)
        {
             $check = select-string -pattern $identifier $file
             if ($check -ne $null)
            {
                 $found += $identifier
                 break
             }
         }
     }
 
    # Subtract the found identifiers from the original list
    $diffs = Compare-Object $identifiers $found
     Write-Output ""
     Write-Output "Unused string resources in "
     Write-Output $resourceFile
     Write-Output "----------------------------------------------------------------------------"
     if ($diffs -eq $null)
     {
         Write-Output "No unused strings found."
         Write-Output ""
         return
     }
 
    # Store only the identifiers out of the differences object
     $diffslist = @()
     foreach ($diffObj in $diffs) { $diffslist += $diffObj.InputObject }
    

    # Sort the list and output it
     $diffslist = $diffslist | Sort-Object
     
     $i = 0

     foreach ($diffObj in $diffslist) { 
        
        # remove unused resx elements  
        $keyNode = $xml.root.data | Where-Object { $_.GetAttribute("name") -eq $diffObj }
        $i++
              
        $xml.root.RemoveChild($keyNode) > $null
        
        Write-Output $diffObj
    }
    
    $xml.Save($resourceFile);

    $i = $i.ToString() + " element(s) removed!"

    Write-Output $i
    Write-Output ""
    Write-Progress
 }

Created Unassigned: Library not registered [1155]

$
0
0
Hi,

When I try to load ResX Resource Manager within Visual Studio on solution that contains at least one COM exposed project I get some library not registered error message box:

"Error loading resource files: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
See output window for details."

The output window give the following:

Error: System.Runtime.InteropServices.COMException (0x8002801D): Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.Runtime.InteropServices.CustomMarshalers.EnumerableViewOfDispatch.GetEnumerator()
at System.Collections.IEnumerable.GetEnumerator()
at System.Linq.Enumerable.<CastIterator>d__b1`1.MoveNext()
at tomenglertde.ResXManager_VSIX.DteExtensions.GetProjectFiles(ProjectItems projectItems, IDictionary`2 items)
at tomenglertde.ResXManager_VSIX.DteExtensions.GetProjectFiles(Solution solution)
at tomenglertde.ResXManager_VSIX.MyToolWindow.GetProjectFiles()
at tomenglertde.ResXManager_VSIX.MyToolWindow.Solution_Changed(Boolean forceReload)

Therefor Resx Manager opens without any files loaded.

Although if I open the Resx files with the standalone version, every loads without any errors.

Commented Unassigned: No resources visible after update to 1.0.0.26 [1149]

$
0
0
ResX manager left window is empty, so I cannot select any resources.
Build-in resx editor works as expected.
Previous version was working correctly in VS2013.
Comments: ** Comment from web user: zjerry **

Yes, thank you very much.
The add-in is very helpfull.

Created Unassigned: ResX manager show only Neultral Comment column [1157]

$
0
0
ResX Manager does not show the Comment column for languages ​​...

New Comment on "Documentation"

$
0
0
Finally! This should have been part of Visual Studio 10 years ago... Thank you so much. /Svante

Edited Unassigned: No resources visible after update to 1.0.0.26 [1149]

$
0
0
ResX manager left window is empty, so I cannot select any resources.
Build-in resx editor works as expected.
Previous version was working correctly in VS2013.

Commented Unassigned: ResX manager show only Neultral Comment column [1157]

$
0
0
ResX Manager does not show the Comment column for languages ​​...
Comments: ** Comment from web user: tomenglert **

You can right-click on the flag in the comments column header to change the comments language - is that what you are looking for?


Commented Unassigned: Library not registered [1155]

$
0
0
Hi,

When I try to load ResX Resource Manager within Visual Studio on solution that contains at least one COM exposed project I get some library not registered error message box:

"Error loading resource files: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
See output window for details."

The output window give the following:

Error: System.Runtime.InteropServices.COMException (0x8002801D): Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.Runtime.InteropServices.CustomMarshalers.EnumerableViewOfDispatch.GetEnumerator()
at System.Collections.IEnumerable.GetEnumerator()
at System.Linq.Enumerable.<CastIterator>d__b1`1.MoveNext()
at tomenglertde.ResXManager_VSIX.DteExtensions.GetProjectFiles(ProjectItems projectItems, IDictionary`2 items)
at tomenglertde.ResXManager_VSIX.DteExtensions.GetProjectFiles(Solution solution)
at tomenglertde.ResXManager_VSIX.MyToolWindow.GetProjectFiles()
at tomenglertde.ResXManager_VSIX.MyToolWindow.Solution_Changed(Boolean forceReload)

Therefor Resx Manager opens without any files loaded.

Although if I open the Resx files with the standalone version, every loads without any errors.
Comments: ** Comment from web user: tomenglert **

Looks like the call stack from an older version - 1.0.0.26 should have fixed this already.

Source code checked in, #27640

Source code checked in, #27664

$
0
0
- Fix 1149 & 1153: Resources not visible - Add 1136: Support .resw files for windows store apps

Commented Unassigned: Resources always not visibible [1153]

$
0
0
If resources is not incorporated or Custom tool is empty Resx manager not showing it...

I have a custom T4 tool for the compilation of resources ...

Sorry for my bad english...
Comments: Associated with changeset 27664: - Fix 1149 & 1153: Resources not visible
- Add 1136: Support .resw files for windows store apps

Commented Unassigned: No resources visible after update to 1.0.0.26 [1149]

$
0
0
ResX manager left window is empty, so I cannot select any resources.
Build-in resx editor works as expected.
Previous version was working correctly in VS2013.
Comments: Associated with changeset 27664: - Fix 1149 & 1153: Resources not visible
- Add 1136: Support .resw files for windows store apps

Commented Feature: Support .resw files for windows store apps [1136]

$
0
0
New resources way for Windows Store apps:

strings/de-DE/Resources.resw
strings/en-EN/Resources.resw

Main difference:. Locale Info now captured with foldernames; resX files now named resW.
Comments: Associated with changeset 27664: - Fix 1149 & 1153: Resources not visible
- Add 1136: Support .resw files for windows store apps

Source code checked in, #27665


Released: 1.0.0.27 (Nov 16, 2013)

$
0
0
1.0.0.27
  • Fix WI1149 & WI1153: Resources not visible
  • Add Feature WI1136: Support .resw files for windows store apps
1.0.0.26
  • WI1141: Improve message when an xml file fails to load. Ignore projects that fail to load.
1.0.0.25
  • WI1133: Improve error message
1.0.0.24
  • WI1121: Improve error messages
1.0.0.23
  • WI1098: VS Crash after changing filter
1.0.0.22
  • WI1091: Context menu for copy resource key.
  • WI1090: Enable multi-line paste.
1.0.0.21
  • WI1060: ResX Manager crashes after update.
1.0.0.20
  • WI958: Reference something in DGX, so we don't need to load the assembly dynamically.
  • WI1055: Add the possibility to mark items that do not need translation as invariant.
  • WI1056: Support VS 2013
1.0.0.19
  • Fix WI1046: VS Crash when sorting the table
  • New WI1055: Add possibility to mark items that do not need translation as invariant
1.0.0.18
  • Enable spell checker (if .Net language pack for the target language is installed)
  • German localization
  • Fix WI1002: Wrong Spanish flag
  • Fix WI993: Details of load errors are shown in the output pane
1.0.0.17
  • Catch errors and show in output window.
  • Make the language of the comment column selectable.
  • Add a "Like" button.
1.0.0.16
  • New filter "Show only rows with missing entries" makes it easier to find untranslated entries
  • Support linked items shared by multiple projects (fixes WI980, 982)
  • Fix WI986: Filtering on column doesn't work most of the time
1.0.0.15
  • Add new languages (works in extension only)
  • Edit multiple projects simultaneously
  • Flat or grouped view of multiple projects
  • Choose what columns to show or hide
  • Extended project/file filter
1.0.0.14
  • FIX WI909: Added filter for resource files
  • Sort files alphabetically
1.0.0.13
  • FIX WI889: Support legacy language tags (e.g. zh-CHS and zh-CHT)
1.0.0.12
  • FIX WI821: Re-create designer files after modifying neutral language.
1.0.0.11
  • FIX WI880: column filters restored.
1.0.0.10
  • FIX WI871: web forms support (files with nested extension like *.aspx.resx)
  • FIX WI870: Sort by key/Keep sorting - Default sort order now is by key.
  • FIX WI849/833: Improved auto-refresh when activating the view, + explicit refresh button.
  • FIX WI821: New strings can be added in the resource manager.
1.0.0.9
  • Usability improvements
    • DEL key deletes rows
    • Preserve column width and order during session
    • Preserve selection during session
    • Resizable navigation panel
    • Editable comments
1.0.0.8
  • FIX WI801: Extensions does not find ResX in Solution Folders
  • Improve keyboard navigation: Ctrl-Return starts editing without overwriting the content of a cell.
  • Improve multi-line editing: Return navigates instead of adding a new line. Ctrl-Return inserts a new line.
1.0.0.7
  • Import/Export tables also with multi-line text in cells.
1.0.0.6
  • Show the comment of the neutral language file
  • Import/Export tables via clipboard
1.0.0.5
  • VisualStudio Extension: Support VS 2012
1.0.0.4
  • Delete: Allow to delete multiple rows and correctly update display.
  • Improve context menus.
  • Show tooltip how to change the neutral language icon.
1.0.0.3
  • Show an icon for the neutral language, too.
1.0.0.2
  • Show display name and icon of the languages.
  • Automatic checkout of files upon editing, warn on file access errors.
  • Highlight empty entries.

Created Release: 1.0.0.27 (Nov 16, 2013)

$
0
0
1.0.0.27
  • Fix WI1149 & WI1153: Resources not visible
  • Add Feature WI1136: Support .resw files for windows store apps
1.0.0.26
  • WI1141: Improve message when an xml file fails to load. Ignore projects that fail to load.
1.0.0.25
  • WI1133: Improve error message
1.0.0.24
  • WI1121: Improve error messages
1.0.0.23
  • WI1098: VS Crash after changing filter
1.0.0.22
  • WI1091: Context menu for copy resource key.
  • WI1090: Enable multi-line paste.
1.0.0.21
  • WI1060: ResX Manager crashes after update.
1.0.0.20
  • WI958: Reference something in DGX, so we don't need to load the assembly dynamically.
  • WI1055: Add the possibility to mark items that do not need translation as invariant.
  • WI1056: Support VS 2013
1.0.0.19
  • Fix WI1046: VS Crash when sorting the table
  • New WI1055: Add possibility to mark items that do not need translation as invariant
1.0.0.18
  • Enable spell checker (if .Net language pack for the target language is installed)
  • German localization
  • Fix WI1002: Wrong Spanish flag
  • Fix WI993: Details of load errors are shown in the output pane
1.0.0.17
  • Catch errors and show in output window.
  • Make the language of the comment column selectable.
  • Add a "Like" button.
1.0.0.16
  • New filter "Show only rows with missing entries" makes it easier to find untranslated entries
  • Support linked items shared by multiple projects (fixes WI980, 982)
  • Fix WI986: Filtering on column doesn't work most of the time
1.0.0.15
  • Add new languages (works in extension only)
  • Edit multiple projects simultaneously
  • Flat or grouped view of multiple projects
  • Choose what columns to show or hide
  • Extended project/file filter
1.0.0.14
  • FIX WI909: Added filter for resource files
  • Sort files alphabetically
1.0.0.13
  • FIX WI889: Support legacy language tags (e.g. zh-CHS and zh-CHT)
1.0.0.12
  • FIX WI821: Re-create designer files after modifying neutral language.
1.0.0.11
  • FIX WI880: column filters restored.
1.0.0.10
  • FIX WI871: web forms support (files with nested extension like *.aspx.resx)
  • FIX WI870: Sort by key/Keep sorting - Default sort order now is by key.
  • FIX WI849/833: Improved auto-refresh when activating the view, + explicit refresh button.
  • FIX WI821: New strings can be added in the resource manager.
1.0.0.9
  • Usability improvements
    • DEL key deletes rows
    • Preserve column width and order during session
    • Preserve selection during session
    • Resizable navigation panel
    • Editable comments
1.0.0.8
  • FIX WI801: Extensions does not find ResX in Solution Folders
  • Improve keyboard navigation: Ctrl-Return starts editing without overwriting the content of a cell.
  • Improve multi-line editing: Return navigates instead of adding a new line. Ctrl-Return inserts a new line.
1.0.0.7
  • Import/Export tables also with multi-line text in cells.
1.0.0.6
  • Show the comment of the neutral language file
  • Import/Export tables via clipboard
1.0.0.5
  • VisualStudio Extension: Support VS 2012
1.0.0.4
  • Delete: Allow to delete multiple rows and correctly update display.
  • Improve context menus.
  • Show tooltip how to change the neutral language icon.
1.0.0.3
  • Show an icon for the neutral language, too.
1.0.0.2
  • Show display name and icon of the languages.
  • Automatic checkout of files upon editing, warn on file access errors.
  • Highlight empty entries.

Edited Issue: Resources always not visibible [1153]

$
0
0
If resources is not incorporated or Custom tool is empty Resx manager not showing it...

I have a custom T4 tool for the compilation of resources ...

Sorry for my bad english...

Edited Feature: Support .resw files for windows store apps [1136]

$
0
0
New resources way for Windows Store apps:

strings/de-DE/Resources.resw
strings/en-EN/Resources.resw

Main difference:. Locale Info now captured with foldernames; resX files now named resW.

Commented Unassigned: ResX manager show only Neultral Comment column [1157]

$
0
0
ResX Manager does not show the Comment column for languages ​​...
Comments: ** Comment from web user: lorenzocostalunga **

I need to see comment columns in several languages to be able to translate also the comments...

thanks.

Sorry for my bad eglish.

Viewing all 2435 articles
Browse latest View live


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