iiTech Global Language & Timezone

外掛說明

iiTech Global Language & Timezone is a flexible and lightweight WordPress language and timezone plugin designed for websites serving a global audience.

If your visitors come from different regions or your team works across multiple timezones, accurate language and time handling is essential. This plugin gives you centralized control over WordPress locale and timezone settings — without modifying WordPress core.

Perfect for:

  • International businesses
  • Multilingual WordPress websites
  • Event-based platforms
  • Global communities
  • Remote teams
  • Developers needing precise locale control

Core Features

✔ Unified WordPress language and timezone settings page
✔ Frontend language switcher (UI only)
✔ Visitor timezone detection using modern browser APIs
✔ Per-user admin language and timezone preferences
✔ Timezone-aware shortcodes
✔ Developer helper functions
✔ Multisite support
✔ Lightweight and WordPress standards compliant

Unified Settings Panel

Manage everything from:

Settings Locale & Timezone

Configure:

• Site Language (WordPress locale)
• Site Timezone (uses WordPress core options)

No core modification. No external APIs. No tracking.

Per-User Overrides

Users can set preferred language and timezone in their profile.

When enabled:

• Admin UI switches using switch_to_locale()
• Admin date/time reflects user timezone
• Falls back to site defaults when not configured

Ideal for distributed teams working globally.

Visitor Timezone Detection

The plugin detects visitor timezone using the browser Intl API and stores it in a cookie.

This allows:

• Localized date and time display
• Better global user experience
• Accurate event scheduling

Shortcodes

Display timezone-aware information anywhere:

[wpltm_time datetime=”2026-02-15 10:00:00″]
[wpltm_timezone]
[wpltm_language_switcher]

Developer Functions

Available helpers:

wpltm_get_effective_timezone()
wpltm_get_effective_locale()
wpltm_format_datetime()

Perfect for theme and plugin integration.

What This Plugin Does NOT Do

• Does NOT translate post or page content
• Does NOT override WordPress core timezone per visitor
• Does NOT modify server timezone
• No ads, tracking, or upsells

Support

For support, please use the WordPress.org support forum:
https://wordpress.org/support/plugin/iitech-global-language-timezone/

License

This plugin is licensed under GPL v2 or later.

螢幕擷圖

  • Settings Locale & Timezone – General tab
  • User profile – Locale & Timezone preferences section
  • Frontend shortcode output example

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Localized Time

安裝方式

  1. Upload the iitech-global-language-timezone folder to /wp-content/plugins/
  2. Activate via the WordPress Plugins screen
  3. Go to Settings Locale & Timezone
  4. Configure language and timezone preferences

常見問題集

Does this plugin translate my content?

No. This plugin manages WordPress language (locale) and timezone display only. For translating content, use a translation plugin such as WPML or Polylang.

Does this change WordPress core timezone per visitor?

No. WordPress core timezone remains unchanged. The plugin only affects how dates and times are displayed when using its shortcodes or helper functions.

How do I display a date in the visitor’s timezone?

Use:

[wpltm_time datetime=”2026-02-15 10:00:00″]

Or in PHP:

Is this compatible with multilingual plugins?

Yes. It works alongside major multilingual WordPress plugins.

Does it work with WordPress Multisite?

Yes. Network-level defaults are supported.

Is it performance friendly?

Yes. The plugin is lightweight, uses proper WordPress APIs, and does not load unnecessary assets.

使用者評論

2026 年 5 月 1 日
This Global Language & Timezone is a fantastic plugin for managing language and timezone settings in WordPress. It’s lightweight, easy to use, and works exactly as expected.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈iiTech Global Language & Timezone〉的開發相關工作。

參與者

變更記錄

1.0.1

  • Improved visitor timezone detection accuracy
  • Performance optimization for frontend language switcher
  • Enhanced compatibility with multilingual plugins
  • Minor UI improvements in WordPress language and timezone settings panel
  • Code quality and security enhancements

1.1.0

  • Added optional browser-based auto language detection with safe locale validation and fallback behavior
  • Added dynamic Gutenberg block iitech/local-time for localized datetime rendering
  • Improved timezone fallback handling with locale-to-timezone mapping when visitor detection is unavailable
  • Optimized script loading and frontend inline script handling with WordPress APIs
  • Added uninstall cleanup for new options and site locale setting

1.0.0

  • Initial release
  • Unified language and timezone management
  • Per-user admin overrides
  • Visitor timezone detection
  • Shortcodes: [wpltm_time], [wpltm_timezone], [wpltm_language_switcher]
  • Developer helper functions
  • Multisite support