c# - resx files - remove default file with no language -
i've got app_globalresources folder different resource file per culture:
resource.en-gb.resx resource.fr-fr.resx . . resource.resx
it looks last resource.resx "default" file no language associated has exist there design.
is there way rid of last default file without breaking code?
yes, design. asp.net uses the
thread.currentthread.currentculture , thread.currentthread.currentuiculture
to identify present culture. looks resource file has associated culture in above property. if associated file not found then, fallback default language's resource. make sure file part of installer.
good luck...
Comments
Post a Comment