The i18n stuff has had a nice overhaul in the most recent build (Beta
4) but I ran across an oddity today. There are two methods that refer
to variables.thisLocale in the i18n.cfc plugin but that doesn't seem
to exist:
<cffunction name="showLocaleCountry" access="public" output="false"
returntype="string" hint="returns display country name for given
locale">
<cfreturn buildLocale(getfwLocale()).getDisplayCountry(variables.thisLocale)>
</cffunction>
<!--- ************************************************************* --->
<!--- ************************************************************* --->
<cffunction name="showLocaleLanguage" access="public" output="false"
returntype="string" hint="returns display country name for given
locale">
<cfreturn buildLocale(getfwLocale()).getDisplayLanguage(variables.thisLocale)>
</cffunction>
Should variables.thisLocale be replaced with getfwLocale() in those calls?