Hướng dẫn tạo một file ngôn ngữ cho theme và plugin (ok) textdomain languages

Tạo file ngôn ngữ cho theme

Bước 1: Tải theme blank ở đây https://digwp.com/clubhouse

Bước 2: Tạo folder languages

Bước 3: load_theme_textdomain

Bước 4: vô địa chỉ https://www.icanlocalize.com/tools/create_po_from_php

Bước 5: Tải về file blank-them.po.gz giải nén ra và đổi tên thành vi.po dùng phần mềm poedit nó sẽ tự dịch thành vi.mo

Bước 6: Vào trong admin page chọn language

Bước 7: Thành quả trước và sau

Tạo file ngôn ngữ cho plugin

Last updated

Was this helpful?