Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: i18n, templating, web.mvc
-
Labels:None
Description
Suppose we have an application in Polish language only. All of the templates are called <template-name>.pl_PL.vt and there are no equivalent non-localized templates called <template-name>.vt.
While looking for the template file a template called <template-name>.vt is sought. Because it does not exist a null value is returned. Then localized template is resolved upon found template object and because it (the object) does not exist an exception is thrown.
While looking for the template file a template called <template-name>.vt is sought. Because it does not exist a null value is returned. Then localized template is resolved upon found template object and because it (the object) does not exist an exception is thrown.