Title: Style Genre
Author: janiko
Published: <strong>1 Tháng 10, 2021</strong>
Last modified: 16 Tháng 10, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/style-genre/assets/icon-256x256.jpeg?rev=3171909)

# Style Genre

 Bởi [janiko](https://profiles.wordpress.org/janiko/)

[Tải về](https://downloads.wordpress.org/plugin/style-genre.2.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/style-genre/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/style-genre/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/style-genre/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/style-genre/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/style-genre/)

## Mô tả

Style Genre lets you adjust translation wording, for example `autrice|auteure, Autrice
|Auteure`.

Version 2.0 applies substitutions when translated strings are returned by PHP gettext
functions or JavaScript `wp.i18n` functions. No translation files are rewritten 
and no recurring substitution job is necessary.

Existing substitution rules stored by Style Genre 1.x are preserved.

The replacements are literal, case-sensitive, and occur inside translated strings.
They are applied in the order listed. This plugin does not intercept arbitrary text,
third-party JavaScript localization systems, or already-rendered HTML.

## Ảnh màn hình

[[

## Cài đặt

Install or update Style Genre, activate it and open Settings > Style Genre. Enter
comma-separated rules in the form `original|replacement` and save. No manual operation
is needed after translation updates.

## Hỏi đáp

### Are my previous rules preserved?

Yes, the option `style_genre_substitution_rules` and its format remain unchanged.

### Are translation files modified?

No. Version 2.0 only filters translations at runtime. Files modified by 1.x are 
not restored by this release.

### Does it affect JavaScript?

Yes, scripts using the WordPress `wp.i18n` package, provided their translations 
run after the filter is installed. Other JavaScript translation methods are not 
covered.

### Can I use commas or vertical bars in a rule?

The legacy rule format reserves commas as separators and the first vertical bar 
as the delimiter. These characters cannot currently be used freely in search strings.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Style Genre” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ janiko ](https://profiles.wordpress.org/janiko/)

[Dịch “Style Genre” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/style-genre)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/style-genre/), check out
[SVN repository](https://plugins.svn.wordpress.org/style-genre/), hoặc theo dõi 
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/style-genre/) qua [RSS](https://plugins.trac.wordpress.org/log/style-genre/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 2.0.0

 * Replace file rewriting with PHP and JavaScript translation filters.
 * Retain the existing rules and option name.
 * Remove manual file editing and translation-update hooks.
 * Move the administration screen under Settings.

#### 1.3.3

 * Fix minor issue.

## Meta

 *  Phiên bản **2.0.0**
 *  Cập nhật lần cuối **3 tuần trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.1.4**
 *  Phiên bản PHP ** 7.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/style-genre/)
 * Thẻ
 * [gettext](https://vi.wordpress.org/plugins/tags/gettext/)[i18n](https://vi.wordpress.org/plugins/tags/i18n/)
   [localization](https://vi.wordpress.org/plugins/tags/localization/)[translation](https://vi.wordpress.org/plugins/tags/translation/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/style-genre/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/style-genre/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/style-genre/reviews/)

## Những người đóng góp

 *   [ janiko ](https://profiles.wordpress.org/janiko/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/style-genre/)