Westwind.Globalization icon indicating copy to clipboard operation
Westwind.Globalization copied to clipboard

Export for webforms writes all resx files to both global and local folder

Open schutze opened this issue 5 years ago • 1 comments

I created a new .NET 4.5 WebForms project and added the globalization package with

pm> Install-Package Westwind.Globalization.Web.Starter

I then updated web.config:

<add key="ResxExportProjectType" value="WebForms" /> <add key="ResxBaseFolder" value="~/" />

Question 1: After making changes with LocalizationAdmin, is the export feature the only way to write the changes back to the resx files? What is the "Refresh" button under "ResourceSet" for?

When I export with the "Resx Export" folder option set to "~/", the tool writes ALL resx files to BOTH the App_GlobalResources AND App_LocalResources folders and I have to remove the incorrect files from each folder so there are no duplicates.

Question 2: Why doesn't the tool keep track of the folders where the files were imported from and then write them back to the original location?

schutze avatar Aug 02 '19 14:08 schutze

Hi @RickStrahl, is this a bug or by design? Thanks.

schutze avatar Aug 23 '19 13:08 schutze