@theBlockClub · Post #184 · 28.04.2023 г., 01:01
#i18n Notion 现在支持西班牙语(西班牙及拉丁美洲)和葡萄牙语(巴西)了 🧱@theBlockClub, all about Notion.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #60 · 31 мар.
Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic
Пребарај: #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.