@theBlockClub · Post #184 · 28.04.2023 г., 01:01
#i18n Notion 现在支持西班牙语(西班牙及拉丁美洲)和葡萄牙语(巴西)了 🧱@theBlockClub, all about Notion.
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #175 · 30 окт.
В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks
Пребарај: #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.