Quantcast
Channel: RESX Manager
Viewing all 252 articles
Browse latest View live

Updated Wiki: Home

$
0
0
Consolidates, synchronizes and translates .NET resources (*.resx, *.wxl). Supports export to Excel (*.xlsx) and automating translation.

Features

ResxManager001.png

Requirements

  • Microsoft .NET Framework 4
  • SQL Server 2012 (for translation storage only)
Your feedback on functionality, performance and everything else is very welcome.

Future

  • Instant translation of resource files
  • Manage translation storage

Created Unassigned: null ref ex when store all to DB [3153]

$
0
0
2015-02-25 14:08:45,041 [4] ERROR ResourceManager.Client.MainForm [(null)] - Error while processing task.
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()<---

Created Unassigned: Configure Doesn't Create Tables, only SPs [3154]

$
0
0
If you point RESX Manager at a SQL Server box (Std/Ent/whatever) that already has a TranslationStorage DB created (but is empty), and you tell the app to Configure the DB, it will add the SPs but not the tables.

If I drop the DB and have the app Configure the DB, it will properly create the Tables and SPs for me.

I wanted to create the DB since I wanted the Data & Logs to be on specific drives instead of taking the default location.

Commented Unassigned: null ref ex when store all to DB [3153]

$
0
0
2015-02-25 14:08:45,041 [4] ERROR ResourceManager.Client.MainForm [(null)] - Error while processing task.
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()<---
Comments: ** Comment from web user: esinek **

The above ex happened when storing to local. I switched to full SQL Server and I got a lot further, but still I got the same null reference ex. I re-ran the store all action and again the error occurred. I checked the count on both the Translations and TranslationTexts tables and between the first and second store all, there was no change (1085 & 5609 respectively).
I then looked into the local DB I created originally and did the same count(*) on both tables and got the exact same results.
Perhaps it's time to download the source and give that a try

Commented Unassigned: null ref ex when store all to DB [3153]

$
0
0
2015-02-25 14:08:45,041 [4] ERROR ResourceManager.Client.MainForm [(null)] - Error while processing task.
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()<---
Comments: ** Comment from web user: esinek **

I believe it has to do with the topCandidate variable being null in the TranslationStorageManager.cs file. The code inside the if block that checks topCandidate against null doesn't make sense since it references topCandidate and it will always be null in that block.

The offending resource entry value was a single space (<value> </value>) as opposed to null value (<value/>).

I haven't dug into it any further.

Commented Unassigned: null ref ex when store all to DB [3153]

$
0
0
2015-02-25 14:08:45,041 [4] ERROR ResourceManager.Client.MainForm [(null)] - Error while processing task.
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()<---
Comments: ** Comment from web user: esinek **

Changing that one if statement to != instead of == seems to have done the trick

Source code checked in, #28015

$
0
0
Fixed: Store translations. Ref NULL error; Create DataBase tables if empty DB exists.

Source code checked in, #28016


Created Release: RESX Manager 0.3.3 (Feb 26, 2015)

$
0
0
Fixed
  • Issue: Null Reference Exception when storing translations (3153)
  • Issue: Create tables if empty Database exists (3154)

Edited Unassigned: Configure Doesn't Create Tables, only SPs [3154]

$
0
0
If you point RESX Manager at a SQL Server box (Std/Ent/whatever) that already has a TranslationStorage DB created (but is empty), and you tell the app to Configure the DB, it will add the SPs but not the tables.

If I drop the DB and have the app Configure the DB, it will properly create the Tables and SPs for me.

I wanted to create the DB since I wanted the Data & Logs to be on specific drives instead of taking the default location.
Comments: ** Comment from web user: luclucas **

Thank you for sending this issue. It has been solved in the current release.

Edited Unassigned: null ref ex when store all to DB [3153]

$
0
0
2015-02-25 14:08:45,041 [4] ERROR ResourceManager.Client.MainForm [(null)] - Error while processing task.
System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at ResourceManager.Storage.TranslationStorageManager.<>c__DisplayClass14.<Store>b__8(KeyValuePair`2 data)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
at ResourceManager.Storage.TranslationStorageManager.Store(VSSolution solution)
at ResourceManager.Client.MainForm.storeAllTranslations()
at System.Threading.Tasks.Task.Execute()<---
Comments: ** Comment from web user: luclucas **

Thank you for sending this issue and the solution. I am really sorry for that. It has been solved in the current release.

Released: RESX Manager 0.3.3 (Feb 26, 2015)

Updated Release: RESX Manager 0.3.3 (Feb 26, 2015)

Created Unassigned: Status Bar to show progress [3157]

$
0
0
I've got a large solution (50+ projects) with over 20k rows in the TranslationTexts table. When running "Store all translations", there's no way to see progress. At the very least, it would be nice to see which project you are working on, and also any other details within that project like which folder and/or file, etc. Are the folders/files that are processed sorted by name so it would be easy to see approximately, where in the list of files you are? For example: we're processing the "W's" now, ok - we're close to the end.

A next step would be to show progress bars somewhere - one progress bar for projects, another for files within the project.

Commented Unassigned: Status Bar to show progress [3157]

$
0
0
I've got a large solution (50+ projects) with over 20k rows in the TranslationTexts table. When running "Store all translations", there's no way to see progress. At the very least, it would be nice to see which project you are working on, and also any other details within that project like which folder and/or file, etc. Are the folders/files that are processed sorted by name so it would be easy to see approximately, where in the list of files you are? For example: we're processing the "W's" now, ok - we're close to the end.

A next step would be to show progress bars somewhere - one progress bar for projects, another for files within the project.
Comments: ** Comment from web user: esinek **

Even if the status bar showed something like:

Project (1/52): MyCompany.Entities; File (5/200): ~/App_LocalResources/Dashboard.de-DE.resx

That would be VERY useful.


Updated Wiki: Exclude Projects, Directories, Files or Entries

$
0
0

Exclude Projects, Directories, Files or Entries from Translation

Thanks to pqsys for the idea.

Using the interface of RESX Manager, you can select projects and files to export to Excel. Nevertheless, it might be usefull to completely exclude files, folders or resource entries from translation.

By writing simple configuration files you can exclude specific projects, folders, resource files or resource entries from translation. Effected objects will not be loaded and thus not exported to Excel.

To exclude for instance all files called "StringsNoTranslate.resxm" in the entire solution (including all projects), just create a configuration file called "SolutionName.sln.resxm" in the solution directory file with the following content.

<solution><files><excludePattern="StringsNoTranslate.resx"/></files></solution>

Objects are matched using a search pattern and an operator that are applied to the names. There are different operators:

Operator Describtion
Like (Default) Matches everything that contains the pattern (case insensitive).
Equals Matches exact strings (case insensitive).
Regex Uses Regular Expressions to select matching strings.


Several exclude-nodes will be connected as logical OR. Project configurations are called "ProjectName.resxm". Please see the following examples containing all available options.

Sample Configuration for solutions (SolutionName.sln.resxm)
<solution><projects><excludeOperator="Equals"Pattern="InvariantProject"/><excludeOperator="Equals"Pattern="InvariantProject2"/></projects><directories><excludeOperator="Like"Pattern="hidden_dir"/></directories><files><excludeOperator="Equals"Pattern="StringsNoTranslate.resx"/></files><groups><excludeOperator="Regex"Pattern="Test[0-9]"/></groups></solution>

Sample Configuration for projects (ProjectName.resxm)
<solution><directories><excludeOperator="Like"Pattern="hidden_dir"/></directories><files><excludeOperator="Equals"Pattern="StringsNoTranslate.resx"/></files><groups><excludeOperator="Regex"Pattern="Test[0-9]"/></groups></solution>

Further topics

Edited Unassigned: Status Bar to show progress [3157]

$
0
0
I've got a large solution (50+ projects) with over 20k rows in the TranslationTexts table. When running "Store all translations", there's no way to see progress. At the very least, it would be nice to see which project you are working on, and also any other details within that project like which folder and/or file, etc. Are the folders/files that are processed sorted by name so it would be easy to see approximately, where in the list of files you are? For example: we're processing the "W's" now, ok - we're close to the end.

A next step would be to show progress bars somewhere - one progress bar for projects, another for files within the project.
Comments: ** Comment from web user: luclucas **

Thanks for the request. I will implement improved status handling with the next release.

Updated Wiki: Home

$
0
0
Consolidates, synchronizes and translates .NET resources (*.resx, *.wxl). Supports export to Excel (*.xlsx) and automating translation.

Features

ResxManager001.png

Requirements

  • Microsoft .NET Framework 4
  • SQL Server 2012 (for translation storage only)
Your feedback on functionality, performance and everything else is very welcome.

Future

  • Instant translation of resource files
  • Manage translation storage

Updated Wiki: Exclude Projects, Directories, Files or Entries

$
0
0

Exclude Projects, Directories, Files or Entries from Translation

Thanks to pqsys for the idea.

Using the interface of RESX Manager, you can select projects and files to export to Excel. Nevertheless, it might be usefull to completely exclude files, folders or resource entries from translation.

By writing simple configuration files you can exclude specific projects, folders, resource files or resource entries from translation. Effected objects will not be loaded and thus not exported to Excel.

To exclude for instance all files called "StringsNoTranslate.resxm" in the entire solution (including all projects), just create a configuration file called "SolutionName.sln.resxm" in the solution directory file with the following content.

<solution><files><excludePattern="StringsNoTranslate.resx"/></files></solution>

Objects are matched using a search pattern and an operator that are applied to the names. There are different operators:

Operator Describtion
Like Matches everything that contains the pattern (case insensitive). (Default)
Equals Matches exact strings (case insensitive).
Regex Uses Regular Expressions to select matching strings.


Several exclude-nodes will be connected as logical OR. Project configurations are called "ProjectName.resxm". Please see the following examples containing all available options.

Sample Configuration for solutions (SolutionName.sln.resxm)
<solution><projects><excludeOperator="Equals"Pattern="InvariantProject"/><excludeOperator="Equals"Pattern="InvariantProject2"/></projects><directories><excludeOperator="Like"Pattern="hidden_dir"/></directories><files><excludeOperator="Equals"Pattern="StringsNoTranslate.resx"/></files><groups><excludeOperator="Regex"Pattern="Test[0-9]"/></groups></solution>

Sample Configuration for projects (ProjectName.resxm)
<solution><directories><excludeOperator="Like"Pattern="hidden_dir"/></directories><files><excludeOperator="Equals"Pattern="StringsNoTranslate.resx"/></files><groups><excludeOperator="Regex"Pattern="Test[0-9]"/></groups></solution>

Further topics

New Post: Independant Storage Layer

$
0
0
Love the tool, but i would like if it offered abstraction to the storage mechanism, at least to sqlite. Nonetheless, great time saver
Viewing all 252 articles
Browse latest View live


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