To use .NET resources in the App_GlobalResources under Phalanger, you'll need to do the following:
<add assembly="App_GlobalResources" />
- Add a reference to the following assembly under <classLibrary>:
- After adding the assembly, you'll be able to access resources in a similar way as you do so under ASP.NET, modified slightly to be PHP-compatible.
For example, if there was a file called "strings.resx", you'll access the ResourceManager with:
And a resource named "NAMESUFIX" with: