-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathandroid.po
More file actions
109 lines (86 loc) · 4.12 KB
/
Copy pathandroid.po
File metadata and controls
109 lines (86 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-10 02:51+0330\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: using/android.rst:5
msgid "Using Python on Android"
msgstr ""
#: 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 ""
#: 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 ""
#: 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 <embedding>`. The full Python interpreter, the standard library, and all your Python code is then packaged into your app for its own private use."
msgstr ""
#: using/android.rst:23
msgid "The Python standard library has some notable omissions and restrictions on Android. See the :ref:`API availability guide <mobile-availability>` for details."
msgstr ""
#: using/android.rst:28
msgid "Adding Python to an Android app"
msgstr ""
#: using/android.rst:30
msgid "These instructions are only needed if you're planning to compile Python for Android yourself. Most users should *not* need to do this. Instead, use one of the following tools, which will provide a much easier experience:"
msgstr ""
#: using/android.rst:34
msgid "`Briefcase <https://briefcase.readthedocs.io>`__, from the BeeWare project"
msgstr ""
#: using/android.rst:35
msgid "`Buildozer <https://buildozer.readthedocs.io>`__, from the Kivy project"
msgstr ""
#: using/android.rst:36
msgid "`Chaquopy <https://chaquo.com/chaquopy>`__"
msgstr ""
#: using/android.rst:37
msgid "`pyqtdeploy <https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/>`__"
msgstr ""
#: using/android.rst:38
msgid "`Termux <https://termux.dev/en/>`__"
msgstr ""
#: using/android.rst:40
msgid "If you're sure you want to do all of this manually, read on. You can use the :source:`testbed app <Android/testbed>` as a guide; each step below contains a link to the relevant file."
msgstr ""
#: using/android.rst:44
msgid "Build Python by following the instructions in :source:`Android/README.md`."
msgstr ""
#: using/android.rst:46
msgid "Add code to your :source:`build.gradle <Android/testbed/app/build.gradle.kts>` file to copy the following items into your project. All except your own Python code can be copied from ``cross-build/HOST/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 <Android/testbed/app/src/main/java/org/python/testbed/MainActivity.kt>`."
msgstr ""
#: using/android.rst:63
msgid "Add code to your app to :source:`start Python in embedded mode <Android/testbed/app/src/main/c/main_activity.c>`. This will need to be C code called via JNI."
msgstr ""