[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python/python-docs-ja/3.15/README.md [Back]  [Original]

Repository to store PO Files

https://www.python.org/dev/peps/pep-0545/#repository-for-po-files

Please see [CONTRIBUTING.md](.github/CONTRIBUTING.md)

## AI Agent

AI Agent  PO  Markdown 
Transifex 


> tutorial 1
>  Markdown 

1. ****
    PO  [AGENTS.md](AGENTS.md)[](scripts/python_global_japanese-ja.csv)
    `translation_ja` `pos`  `notes` 
   
    `.tx/config`  PO fuzzyobsolete 

2. ****
   
   
    PO 

3. ** Markdown **
   `scripts/po_review.py` 
   
    `tutorial/floatingpoint.po` 

   ```sh
   python scripts/po_review.py --base HEAD tutorial/floatingpoint.po -o translation-review-floatingpoint.md
   ```

4. ****
   Markdown 
   AI Agent  PO  Markdown 
   
    `AGENTS.md` 
   

5. ****
   `git diff --check`PO reStructuredText 
   
   HTML 
   `polib`  `sphinx-lint`  `python -m pip install polib sphinx-lint` 

   ```sh
   git diff --check -- tutorial/floatingpoint.po
   sphinx-lint --enable all --disable line-too-long tutorial/floatingpoint.po
   ```

6. ** Transifex **
    tx push 
   Transifex CLI 
    `.tx/config`  `/LC_MESSAGES/` 
    `tutorial/floatingpoint.po` 
   `ja/LC_MESSAGES/tutorial/floatingpoint.po` 
    `.tx/config`  `[main]` 
   `file_filter`  `/LC_MESSAGES/tutorial/floatingpoint.po` 
   **** `[ja]` 
   `Uploading file`  `Done` 

   ```sh
   tx push --translation --languages ja
   ```

## 

`scripts/po_review.py`  PO 
Markdown PO  Git 
`docs.python.org` 
 Python  PO  `3` 
 Python  `polib` `python -m pip install polib`
 `requirements.txt` 

```sh
# git diff 
python scripts/po_review.py -o translation-review.md

# 
python scripts/po_review.py --base HEAD -o translation-review.md

# git diff --cached 
python scripts/po_review.py --cached -o translation-review.md

# 
python scripts/po_review.py --base HEAD builtins/functions.po
```

`-o`  Markdown 
PR PR 
 PO  GitHub URL 
PO 

`msgctxt``fuzzy` 
PO 
 `git diff` 

`#~`  obsolete 


`-o`  Git 
Transifex 

Web Proxy Viewer  |  New URL  |  Original Page