Tôi có cùng một vấn đề với: Nhà phân phối ID: Debian Mô tả: Debian Gnu/Linux 11 (Bullseye) Ngày phát hành: 11 Codename: Bullseye Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) release date: 11 Codename: bullseye Php 7.4.28 (CLI) (Được xây dựng: ngày 17 tháng 2 năm 2022 16:17:19) (NTS) Bản quyền của nhóm PHP Zend Engine v3.4.0, Bản quyền Zend Technologies với Zend Opcache v7.4.28, Bản quyền, bởi Zend Technologies Copyright The PHP Group Zend Engine v3.4.0, Copyright
Zend Technologies with Zend OPcache v7.4.28, Copyright , by Zend TechnologiesSương mù: FogProject-1.5.9 - 7 năm trước
- Installing/Configuring
- Giới thiệu
- Yêu cầu
- Cài đặt
- Cấu hình thời gian chạy
- Loại tài nguyên
- Hằng số được xác định trước
- Chức năng GetText
- BIND_TEXTDOMAIN_CODESET - Chỉ định hoặc nhận mã hóa ký tự trong đó các tin nhắn từ danh mục tin nhắn miền sẽ được trả về
- BINDTEXTDOMAIN - Bộ hoặc nhận đường dẫn cho một miền
- dcgettext - ghi đè miền cho một lần tra cứu duy nhất
- dcngettext - phiên bản số nhiều của dcgettext
- dgettext - ghi đè miền hiện tại
- dngetText - phiên bản số nhiều của dgettext
- GetText - Tra cứu một thông báo trong miền hiện tại
- ngetText - phiên bản số nhiều của gettext
Textdomain - Đặt miền mặc định ¶ 4 năm trước
How to use gettext on Windows.
If you use Linux start from the step 2 and consider cmd as linux shell.
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html
Check all options during the installation and go on.
2] Create a index.php file into your website directory with this code inside:
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd
4] Now create the .mo files directly from the php files using this command xgettext -n index.php
Use xgettext -help to see how to include more php files.
5] Once finished will be generate a file called messages.mo. Now you have to set the language and the charset. Open messages.mo with notepad and edit the lines:
- "Language: \n" BECOMES "Language fr\n" - "Content-Type: text/plain; charset=CHARSET\n" BECOMES "Content-Type: text/plain; charset=UTF-8\n"
If you use Linux start from the step 2 and consider cmd as linux shell. 0
If you use Linux start from the step 2 and consider cmd as linux shell. 1
If you use Linux start from the step 2 and consider cmd as linux shell. 2
If you use Linux start from the step 2 and consider cmd as linux shell. 3
If you use Linux start from the step 2 and consider cmd as linux shell. 4
If you use Linux start from the step 2 and consider cmd as linux shell. 5
If you use Linux start from the step 2 and consider cmd as linux shell. 6
If you use Linux start from the step 2 and consider cmd as linux shell. 7
If you use Linux start from the step 2 and consider cmd as linux shell. 8
If you use Linux start from the step 2 and consider cmd as linux shell. 9
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 0 Afrimuchkov tại Yandex Dot Ru ¶ ¶ 13 năm trước 1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 1
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 2
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 3
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 4
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 5
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 6
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 7
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 8
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 9 sasq1 tại go2 dot pl ¶ ¶ 13 năm trước Check all options during the installation and go on. 0
Check all options during the installation and go on. 1
Check all options during the installation and go on. 2
Check all options during the installation and go on. 3
Check all options during the installation and go on. 4
Check all options during the installation and go on. 5 Rainwalker tại Seznam dot cz ¶ ¶ 13 năm trước Check all options during the installation and go on. 6
Check all options during the installation and go on. 7
Check all options during the installation and go on. 8
Check all options during the installation and go on. 9
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 9 Yuricardenas tại Gmail Dot Com ¶ ¶ 13 năm trước 2] Create a index.php file into your website directory with this code inside: 1
2] Create a index.php file into your website directory with this code inside: 2
2] Create a index.php file into your website directory with this code inside: 3
2] Create a index.php file into your website directory with this code inside: 4
2] Create a index.php file into your website directory with this code inside: 5
2] Create a index.php file into your website directory with this code inside: 6
2] Create a index.php file into your website directory with this code inside: 7
2] Create a index.php file into your website directory with this code inside: 8
2] Create a index.php file into your website directory with this code inside: 9
Johnny ¶ ¶ 8 năm trước <?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 0
PHP tại DeviceNull Dot org ¶ ¶ 14 năm trước <?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 1
Cucurella tại gmail dot com ¶ 1 năm trước <?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 2
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 3
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 4 MaximRan800 tại Gmail Dot Com ¶ ¶ 4 năm trước <?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 5
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 6
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 7
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 8
<?php echo _("Good Morning"); ?>
3] Open cmd and move into your website folder using cd 9
4] Now create the .mo files directly from the php files using this command xgettext -n index.php 0
1] First you have to download and install this https://mlocati.github.io/articles/gettext-iconv-windows.html 9
Afrimuchkov tại Yandex Dot Ru ¶ ¶ 4 năm trước 4] Now create the .mo files directly from the php files using this command xgettext -n index.php 2
Afrimuchkov tại Yandex Dot Ru ¶ ¶ Ẩn danh ¶ 4] Now create the .mo files directly from the php files using this command xgettext -n index.php 3
|