# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Revisto , 2025 # Sepehr Rasouli , 2026 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 12:56+0000\n" "PO-Revision-Date: 2024-09-27 14:19+0000\n" "Language-Team: Persian (https://github.com/python/python-docs-fa/fa/)\n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" msgid "Using Python on Android" msgstr "استفاده از پایتون در اندروید" 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 "پایتون روی اندروید با پایتون روی پلتفرم‌های دسکتاپ متفاوت است. در یک پلتفرم دسکتاپ، پایتون معمولاً به‌عنوان یک منبع سیستمی نصب می‌شود که هر کاربر آن رایانه می‌تواند از آن استفاده کند. سپس کاربران برای تعامل با پایتون، پرونده اجرایی :program:`python` را اجرا کرده و دستورها را در یک اعلان تعاملی وارد می‌کنند، یا یک اسکریپت پایتون را اجرا می‌کنند." 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 "در اندروید، مفهوم نصب به‌عنوان یک منبع سیستمی وجود ندارد. تنها واحد توزیع نرم‌افزار، «اپلیکیشن» است. همچنین هیچ کنسولی وجود ندارد که بتوانید در آن یک پرونده اجرایی :program:`python` را اجرا کنید یا با REPL پایتون تعامل داشته باشید." 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 "در نتیجه، تنها راهی که می‌توانید روی اندروید از پایتون استفاده کنید، حالت تعبیه‌شده است – یعنی با نوشتن یک برنامه‌ی بومی اندروید، تعبیه کردن یک مفسر پایتون با استفاده از ``libpython`` و فراخوانی کد پایتون با استفاده از :ref:`API تعبیه‌ی پایتون `. سپس مفسر کامل پایتون، کتابخانه‌ی استاندارد و تمام کد پایتون شما درون برنامه‌تان بسته‌بندی می‌شوند تا برنامه آن‌ها را برای استفاده‌ی خصوصی خود به کار بگیرد." msgid "The Python standard library has some notable omissions and restrictions on Android. See the :ref:`API availability guide ` for details." msgstr "کتابخانه استاندارد پایتون در اندروید دارای برخی موارد حذف‌شده و محدودیت‌های قابل توجه است. برای جزئیات، :ref:`راهنمای دسترسی‌پذیری API ` را ببینید." msgid "Adding Python to an Android app" msgstr "افزودن پایتون به یک برنامه اندروید" msgid "Most app developers should use one of the following tools, which will provide a much easier experience:" msgstr "اکثر توسعه‌دهندگان اپلیکیشن باید از یکی از ابزارهای زیر استفاده کنند که تجربه‌ای بسیار آسان‌تر فراهم می‌کند:" msgid "`Briefcase `__, from the BeeWare project" msgstr "`Briefcase `__، از پروژه‌ی BeeWare" msgid "`Buildozer `__, from the Kivy project" msgstr "`Buildozer `__، از پروژه‌ی Kivy" msgid "`Chaquopy `__" msgstr "`Chaquopy `__" msgid "`pyqtdeploy `__" msgstr "`pyqtdeploy `__" msgid "`Termux `__" msgstr "`Termux `__" 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 "اگر مطمئن هستید که می‌خواهید همه این کارها را به‌صورت دستی انجام دهید، به خواندن ادامه دهید. می‌توانید از :source:`اپلیکیشن testbed ` به‌عنوان راهنما استفاده کنید؛ هر یک از گام‌های زیر شامل پیوندی به پرونده مربوطه است." msgid "First, acquire a build of Python for Android:" msgstr "ابتدا، یک ساخت‌ از پایتون برای اندروید به دست آورید:" msgid "The easiest way is to download an Android release from `python.org `__. The ``prefix`` directory mentioned below is at the top level of the package." msgstr "آسان‌ترین راه، دانلود یک نسخه اندرویدی از `python.org `__ است. پوشه ``prefix`` که در ادامه ذکر می‌شود، در سطح بالای بسته قرار دارد." msgid "Or if you want to build it yourself, follow the instructions in :source:`Android/README.md`. The ``prefix`` directory will be created under :samp:`cross-build/{HOST}`." msgstr "یا اگر می‌خواهید آن را خودتان بسازید، دستورالعمل‌های :source:`Android/README.md` را دنبال کنید. پوشه‌ی ``prefix`` زیر :samp:`cross-build/{HOST}` ایجاد خواهد شد." 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 "کدی به پرونده‌ی :source:`build.gradle ` خود اضافه کنید تا موارد زیر را به پروژه‌ی شما کپی کند. همه‌ی موارد به‌جز کد پایتون خودتان را می‌توان از ``prefix/lib`` کپی کرد:" msgid "In your JNI libraries:" msgstr "در کتابخانه‌های JNI شما:" msgid "``libpython*.*.so``" msgstr "``libpython*.*.so``" msgid "``lib*_python.so`` (external libraries such as OpenSSL)" msgstr "``lib*_python.so`` (کتابخانه‌های خارجی مانند OpenSSL)" msgid "In your assets:" msgstr "در دارایی‌های (assets) شما:" msgid "``python*.*`` (the Python standard library)" msgstr "``python*.*`` (کتابخانه استاندارد پایتون)" msgid "``python*.*/site-packages`` (your own Python code)" msgstr "``python*.*/site-packages`` (کد پایتون خودتان)" msgid "Add code to your app to :source:`extract the assets to the filesystem `." msgstr "برای :source:`استخراج دارایی‌ها (assets) به سامانه فایل‌بندی ` کدی به برنامه‌تان اضافه کنید." msgid "Add code to your app to :source:`start Python in embedded mode `. This will need to be C code called via JNI." msgstr "برای :source:`راه‌اندازی پایتون در حالت تعبیه‌شده `، کدی به برنامه‌ی خود اضافه کنید. این کد باید کد C باشد که از طریق JNI فراخوانی می‌شود." msgid "Building a Python package for Android" msgstr "ساخت بسته پایتون برای اندروید" msgid "Python packages can be built for Android as wheels and released on PyPI. The recommended tool for doing this is `cibuildwheel `__, which automates all the details of setting up a cross-compilation environment, building the wheel, and testing it on an emulator." msgstr "بسته‌های پایتون را می‌توان برای اندروید به‌صورت چرخ (wheel) ساخت و در PyPI منتشر کرد. ابزار توصیه‌شده برای انجام این کار `cibuildwheel `__ است که تمام جزئیات راه‌اندازی محیط کامپایل متقاطع، ساختن چرخ و آزمون آن روی یک شبیه‌ساز را به‌صورت خودکار انجام می‌دهد."