=== AwoSign ===
Contributors: awoscan
Tags: email signature, vcard, business card, id badge, iban
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

10-language & bilingual email signature, QR vCard business card, CR80 staff ID badge, and ISO MOD-97 IBAN billing card studio for WordPress.

== Description ==

**AwoSign 2.1 Global** is an all-in-one corporate identity, staff credential, and billing card studio for WordPress with native support for **10 Global Languages (`TR`, `EN`, `中文 Chinese`, `العربية Arabic RTL`, `DE`, `RU`, `ES`, `FR`, `日本語 Japanese`, `한국어 Korean`)** and **Bilingual (Dual-Language) Business Cards**. Enter your company branding and staff list once, and generate **5 professional outputs** directly inside `WP Admin -> AwoSign` with zero external API dependencies:

* **1. Multi-Template HTML Email Signatures (600 px):** Switch between **Classic Left Logo**, **Modern Compact Bar**, and **Corporate Header Banner + QR** table layouts compatible with Gmail, Outlook, and Apple Mail.
* **2. Digital Business Card & UTF-8 vCard 3.0 (`540 px` & `[awosign]`):** Share interactive digital contact cards with one-click `.vcf` contact download, high-resolution PNG export, and WhatsApp sharing.
* **3. Printable Horizontal Business Cards (`85 × 55 mm` & A4 10-Up in 10 Languages + Bilingual Mode):** Design single-language or **Bilingual (`Turkish + Chinese 中文`, `Turkish + Arabic العربية`, `English + Chinese`)** business cards with automatic **Right-to-Left (`RTL`) layout** for Arabic, full **UTF-8 multibyte QR code encoding**, **300 PPI** or **600 DPI print-shop master PNGs** (with 3 mm bleed and corner crop marks), and **10 cards per A4 sheet (`2×5` grid)**.
* **4. Vertical CR80 Staff & Visitor ID Badges (`54 × 86 mm` & `[awobadge]`):** Design vertical PVC lanyard badges with staff portrait photo (or automatic initials avatar), department, staff ID number, blood type, role band, back-side QR code, HSE emergency contact, **CSV bulk staff import**, and **A4 9-up badge sheet printing**.
* **5. Official Company Invoice & Bank / IBAN Cards (`[awocard]` & WooCommerce BACS):** Create official billing cards (Tax Office, Tax ID / VKN, MERSIS, KEP) and multi-currency Bank / IBAN / SWIFT cards with offline QR codes, one-click IBAN copy buttons, and optional automatic display on the **WooCommerce Bank Transfer (BACS)** thank-you page.

= Shortcodes Included =

* `[awosign id="prof_1"]` — Embeds the selected staff member's Digital Contact Card & vCard download button.
* `[awobadge id="prof_1"]` (or `[awosign type="badge" id="prof_1"]`) — Embeds the vertical CR80 (`54 × 86 mm`) Front & Back Staff ID Badge.
* `[awocard]` (or `[awosign type="billing"]`) — Embeds the Company Invoice Details Card and Bank / IBAN Cards with one-click copy buttons (`mode="all|invoice|bank"`).

= Privacy, Personal Data & Offline Architecture (GDPR / KVKK) =

* **100% Local QR & Canvas Engine:** AwoSign makes **zero automatic external HTTP requests**. QR codes are generated locally in the browser using the bundled MIT-licensed `qrcode-generator` library (`assets/qrcode.js`) with full UTF-8 multibyte encoding.
* **Privacy-by-Default Staff ID Badges (`[awobadge]`):** Sensitive health information (**Blood Type**) and personal phone numbers are **masked/hidden by default** on public `[awobadge]` shortcodes unless an administrator explicitly passes `show_blood="1"` or `show_phone="1"`.
* **WordPress Core Privacy Tools Integration:** Integrates with `Tools -> Export Personal Data` and `Tools -> Erase Personal Data` (`wp_privacy_personal_data_exporters` and `wp_privacy_personal_data_erasers`) so staff profiles can be exported or erased by email address.

== Installation ==

1. Upload the `awosign` folder to `/wp-content/plugins/` or install directly via the WordPress Plugins screen.
2. Activate **AwoSign** through the **Plugins** menu in WordPress.
3. Open **AwoSign** in the WordPress admin sidebar to manage staff profiles, badges, bank IBAN accounts, and print layouts.

== Frequently Asked Questions ==

= Can I create Chinese (中文), Arabic (العربية RTL), or Bilingual (dual-language) business cards? =
Yes. AwoSign 2.1 includes one-click language presets for **10 global languages (`TR`, `EN`, `中文`, `العربية RTL`, `DE`, `RU`, `ES`, `FR`, `日本語`, `한국어`)** as well as optional secondary fields (`Company 2nd Language`, `Name 2nd Language`, `Title 2nd Language`) so both scripts appear together on your `85×55 mm` print cards, digital vCards, email signatures, and CR80 badges.

= Can I import multiple staff members at once for signatures and ID badges? =
Yes. Use the **CSV Bulk Import** button in the top staff bar to import multiple staff profiles (`Name, Title, Department, StaffNo, BloodType, Role, Phone, Email`) in a single click.

= How do I display company invoice details and IBAN cards on my Contact or Payment page? =
Paste `[awocard]` (or `[awosign type="billing"]`) into any page or post, or enable the **WooCommerce Bank Transfer (BACS)** checkbox in the editor to display your IBAN cards automatically after checkout.

== Screenshots ==

1. All-in-one studio editor with 10-language & bilingual preset bar, multi-staff selector, CSV bulk import, WP Media Library logo picker, and live email signature preview.
2. Digital business card (540 px) with UTF-8 vCard 3.0 QR code, VCF download, and WhatsApp sharing.
3. Print-shop studio with 85×55 mm cards (including Arabic RTL and Chinese/Bilingual support), vertical CR80 (54×86 mm) staff ID badges, and company IBAN cards.

== Changelog ==

= 2.1.0 =
* **Global 10-Language & Bilingual Business Card Studio:** Added native card localization for **Turkish (`tr`), English (`en`), Chinese (`zh` 中文), Arabic (`ar` العربية with automatic Right-to-Left `RTL` layout), German (`de`), Russian (`ru`), Spanish (`es`), French (`fr`), Japanese (`ja` 日本語), and Korean (`ko` 한국어)**.
* **Bilingual (Dual-Language) Fields & 1-Click Global Presets:** Added `companyAlt`, `personAlt`, and `jobAlt` fields plus 10 one-click presets (including `TR + Chinese 中文` and `TR + Arabic العربية` bilingual trade cards).
* **Full UTF-8 Multibyte QR & 600 DPI RTL Canvas Engine:** Activated `qrcode.stringToBytesFuncs['UTF-8']` so Chinese, Arabic, Turkish, Cyrillic, Japanese, and Korean vCards encode without character corruption, and upgraded the 300 PPI / 600 DPI Canvas PNG exporters for RTL and bilingual typography.

= 2.0.0 =
* Major All-in-One Corporate Identity Upgrade: Integrated **AwoBadge** (Vertical CR80 `54 × 86 mm` Staff & Visitor ID Badge Studio) and **AwoCard** (Official Company Invoice & Multi-Currency Bank / IBAN Cards with WooCommerce BACS integration).
* Added `[awobadge]` and `[awocard]` shortcodes alongside `[awosign]`.

= 1.3.0 =
* Added multi-staff profile manager with WordPress database persistence (`wp_options` via Nonce-verified AJAX).
* Added `[awosign id="prof_1"]` frontend shortcode for embedding interactive digital contact cards.
* Added 3 email signature templates and 600 DPI print-shop master PNG export with 3 mm bleed and corner crop marks.

= 1.0.1 =
* Initial release on WordPress.org.
