@theBlockClub · Post #184 · 28.04.2023 г., 01:01
#i18n Notion 现在支持西班牙语(西班牙及拉丁美洲)和葡萄牙语(巴西)了 🧱@theBlockClub, all about Notion.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #183 · 23 ное.
Python + bash Если вам часто требуется запускать shell команды из Python-кода, какой способ вы используете? Самый низкоуровневый это функция os.system(), либо os.popen(). Рекомендованный способ это subprocess.call(). Но это всё еще достаточно неудобно. Советую обратить своё внимание на очень крутую библиотеку sh. Что она умеет? 🔸 удобный синтаксис вызова команд как функций # os import os os.system("tar cvf demo.tar ~/") # subprocess import subprocess subprocess.call(['tar', 'cvf', 'demo.tar', '~/']) # sh import sh sh.tar('cvf', 'demo.tar', "~/") 🔸 простое создание функции-алиаса для длинной команды fn = sh.lsof.bake('-i', '-P', '-n') output = sh.grep(fn(), 'LISTEN') в этом примере также задействован пайпинг 🔸 удобный вызов команд от sudo with sh.contrib.sudo: print(ls("/root")) Такой запрос спросит пароль. Чтобы это работало нужно соответствующим способом настроить юзера. А вот вариант с вводом пароля через код. password = "secret" sudo = sh.sudo.bake("-S", _in=password+"\n") print(sudo.ls("/root")) Это не все фишки. Больше интересных примеров смотрите в документации. Специально для Windows💀 юзеров #libs#linux
Пребарај: #i18n
@theBlockClub · Post #184 · 28.04.2023 г., 01:01
#i18n Notion 现在支持西班牙语(西班牙及拉丁美洲)和葡萄牙语(巴西)了 🧱@theBlockClub, all about Notion.
Hashtags
@githubtrending · Post #15259 · 01.11.2025 г., 14:00
#typescript#i18n#javascript#react#react_native#typescript Lingo.dev is a free, open-source AI-powered toolkit that helps you easily make your React apps and other software multilingual without changing your code. It automates translations during your build process, creates automatic pull requests for updates, and supports real-time translation of dynamic content via its SDK. It integrates smoothly with your existing development tools and CI/CD pipelines, saving you time and effort by removing manual translation work. This means you can quickly deliver your app or website in many languages with consistent, high-quality translations, helping you reach a global audience faster and more efficiently. https://github.com/lingodotdev/lingo.dev
@theBlockClub · Post #170 · 15.12.2022 г., 01:00
📰 Notion「块」讯 - 2022年12月15日 #news#i18n#database#integration 1⃣️ Notion 新增德语支持,包含应用 UI、模板、帮助中心、网站、新用户导航和营销内容等 2⃣️ 数据库列表视图支持可视化显示 sub-items 子项目(最多十层),需自行建立 self-relation 关联。该功能将于近日全量推送 3⃣️ 申请过 Notion AI 内测的用户已经开始收到测试邀请,欢迎大家前往 AI 话题专区 讨论 4⃣️ Notion + Slack 整合更新,现在可以直接在 Slack 应用里创建新页面、预览页面内容和更改页面访问权限 (详情:http://ntn.so/slack ) 🧱@theBlockClub, all about Notion.
Hashtags
@plltxe · Post #5743 · 03.02.2025 г., 07:26
Introducing my new project: i18n fails A collection of poorly carried out #internationalization ( #i18n ), #localization ( #l10n ), and #translation of software user interfaces. https://i18nfails.1a23.studio/
@djangoproject · Post #433 · 07.09.2017 г., 11:11
https://docs.python.org/3/library/gettext.html The #gettext module provides internationalization (#I18N) and localization (#L10N) services for your #Python modules and applications. It supports both the #GNU gettext message catalog #API and a higher level, class-based API that may be more appropriate for Python files. The interface described below allows you to write your module and application messages in one natural #language, and provide a catalog of #translated messages for running under different natural languages. Some hints on localizing your Python modules and applications are also given.