# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-05-23 14:20+0000\n" "PO-Revision-Date: 2024-09-27 14:19+0000\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" "ja/)\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../using/android.rst:5 msgid "Using Python on Android" msgstr "Android で Python を使う" #: ../../using/android.rst:7 msgid "" "Python on Android is unlike Python on desktop platforms. On a desktop " "platform, Python is generally installed as a system resource that can be " "used by any user of that computer. Users then interact with Python by " "running a :program:`python` executable and entering commands at an " "interactive prompt, or by running a Python script." msgstr "" "Android における Pythonは、デスクトッププラットフォームにおける Python とは異" "なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューター" "のどのユーザーでも使えるシステムリソースとしてインストールされます。そして、" "ユーザーは :program:`python` 実行可能ファイルを実行して対話型プロンプトにコマ" "ンドを入力したり、 Python スクリプトを実行したりして、 Python を使用すること" "ができるのです。" #: ../../using/android.rst:13 msgid "" "On Android, there is no concept of installing as a system resource. The only " "unit of software distribution is an \"app\". There is also no console where " "you could run a :program:`python` executable, or interact with a Python REPL." msgstr "" "Android においては、システムリソースとしてのインストールという概念はありませ" "ん。ソフトウェア配布が可能なのは、 \"アプリ\" だけです。また、 :program:" "`python` 実行可能ファイルの実行したり、 Python の REPL を使用したりする、コン" "ソールも存在しません。" #: ../../using/android.rst:17 msgid "" "As a result, the only way you can use Python on Android is in embedded mode " "– that is, by writing a native Android application, embedding a Python " "interpreter using ``libpython``, and invoking Python code using the :ref:" "`Python embedding API `. The full Python interpreter, the " "standard library, and all your Python code is then packaged into your app " "for its own private use." msgstr "" "このため、 Python を Android 上で使うただ一つの方法は、埋め込みモード、つま" "り、ネイティブ Android アプリケーションを書き、 ``libpython`` を使用して " "Python インタープリタを埋め込み、そして :ref:`Python 埋め込み API " "` を使用して Python コードを呼び出すことです。 それにより、完全な " "Python インタープリタ、標準ライブラリ、及び Python のコードが、アプリにパッ" "ケージ化され、独自の私的用途に使用されます。" #: ../../using/android.rst:23 msgid "" "The Python standard library has some notable omissions and restrictions on " "Android. See the :ref:`API availability guide ` for " "details." msgstr "" "Python の 標準ライブラリには、 Android におけるいくつかの重要な省略や制限があ" "ります。詳細は :ref:`API 利用可能性ガイド ` を参照してく" "ださい。" #: ../../using/android.rst:28 msgid "Adding Python to an Android app" msgstr "Android アプリに Python を追加する" #: ../../using/android.rst:30 msgid "" "Most app developers should use one of the following tools, which will " "provide a much easier experience:" msgstr "" "ほとんどのアプリ開発者は、次のツールの一つを使用するべきです。これにより、は" "るかに簡単な体験が提供されます:" #: ../../using/android.rst:33 msgid "" "`Briefcase `__, from the BeeWare project" msgstr "" "BeeWare プロジェクトの `Briefcase `__" #: ../../using/android.rst:34 msgid "`Buildozer `__, from the Kivy project" msgstr "Kivy プロジェクトの `Buildozer `__" #: ../../using/android.rst:35 msgid "`Chaquopy `__" msgstr "`Chaquopy `__" #: ../../using/android.rst:36 msgid "" "`pyqtdeploy `__" msgstr "" "`pyqtdeploy `__" #: ../../using/android.rst:37 msgid "`Termux `__" msgstr "`Termux `__" #: ../../using/android.rst:39 msgid "" "If you're sure you want to do all of this manually, read on. You can use " "the :source:`testbed app ` as a guide; each step below " "contains a link to the relevant file." msgstr "" #: ../../using/android.rst:43 msgid "" "Build Python by following the instructions in :source:`Android/README.md`. " "This will create the directory ``cross-build/HOST/prefix``." msgstr "" #: ../../using/android.rst:46 msgid "" "Add code to your :source:`build.gradle ` file to copy the following items into your project. All except your " "own Python code can be copied from ``prefix/lib``:" msgstr "" #: ../../using/android.rst:50 msgid "In your JNI libraries:" msgstr "" #: ../../using/android.rst:52 msgid "``libpython*.*.so``" msgstr "" #: ../../using/android.rst:53 msgid "``lib*_python.so`` (external libraries such as OpenSSL)" msgstr "" #: ../../using/android.rst:55 msgid "In your assets:" msgstr "" #: ../../using/android.rst:57 msgid "``python*.*`` (the Python standard library)" msgstr "" #: ../../using/android.rst:58 msgid "``python*.*/site-packages`` (your own Python code)" msgstr "" #: ../../using/android.rst:60 msgid "" "Add code to your app to :source:`extract the assets to the filesystem " "`." msgstr "" #: ../../using/android.rst:63 msgid "" "Add code to your app to :source:`start Python in embedded mode `. This will need to be C code called " "via JNI." msgstr ""