PHP 클래스 MultilingualPlugin, addons
You can trigger an alternate locale by adding 'locale' in the query string,
setting var vanilla_embed_locale in an embedded forum, or selecting one of the
language links added to the footer. User-selected locale takes precedence.
The selected locale is stored in the session. If it is user-selected AND the
user is logged in, it is stored in UserMeta.
파일 보기
프로젝트 열기: vanilla/addons
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
보호된 메소드들
메소드 상세
base_render_before()
공개 메소드
Show alternate locale options in Foot.
enabledLocales()
공개 정적인 메소드
Return the enabled locales suitable for local choosing.
gdn_dispatcher_afterAnalyzeRequest_handler()
공개 메소드
Moved event from AppStart to AfterAnalyzeRequest to allow Embed to set P3P header first.
getAlternateLocale()
보호된 메소드
Get user preference or queried locale.
profileController_setLocale_create()
공개 메소드
Allow user to set their preferred locale via link-click.
Confirm selected locale is valid and available.
프로퍼티 상세
$overrides 보호되어 있는 정적으로 프로퍼티
protected static $overrides |