70 Commits

Author SHA1 Message Date
Hana - Piralein
8dcf9c472b update localization pages and images 2025-12-17 13:14:29 +01:00
Hugo Locurcio
2beb86d7fa Add a reminder to load the CSV as a source in Localization using spreadsheets 2025-12-02 18:26:44 +01:00
Hugo Locurcio
bfe1d4e874 Clarify how to define a context-sensitive string in Localization using gettext 2025-11-06 00:39:15 +01:00
Hugo Locurcio
e64fed5112 Document plural forms and translation context in Localization using spreadsheets
- Wrap localization pages to around 80 characters.
2025-11-03 19:09:31 +01:00
Hugo Locurcio
2f26289f47 Link to Pseudolocalization page in Internationalizing games 2025-08-25 17:21:35 +02:00
Max Hilbrunner
03d7b1e98a Merge pull request #11143 from skyace65/LanguagePreview
Document previewing translations in editor
2025-07-29 12:58:44 +02:00
SkyJJ
db0241129d Update i18n gettext tutorial to include POT generation, plurals and context support 2025-07-27 13:00:54 -04:00
skyace65
9020278b7d Document previewing translations in editor 2025-07-25 19:48:42 -04:00
Douglas Leão
4e76070435 Pull changes to spreadsheets page 2025-07-19 11:28:59 -04:00
DeeJayLSP
f31a1c7fa6 Move localization with spreadsheets to its own page 2025-07-19 11:25:57 -04:00
Hugo Locurcio
9981feea66 Update ICU break iterator instructions in Internationalizing games 2025-07-04 01:56:52 +02:00
Ilya Fedorov
6f22f68216 Removed duplicate entries from the locales list 2025-06-28 20:33:55 +03:00
A Thousand Ships
92cd36b50e Various grammar and spelling fixes 2025-06-23 16:37:26 +02:00
Hugo Locurcio
8a6ad4c926 Replace uses of shorthand codeblock syntax to avoid issues with localization
Previously, many paragraphs in the documentation used `::` at the end of a line
as a replacement for a single colon (and `::` on the following line).
Due to this, the `::` was part of the extracted string for localization.
Weblate also showed a warning about the trailing `::`, as it's not
normally expected to be there.

This change requires translators to revalidate all modified strings.
However, considering many of those have broken code blocks due to translators
replacing `::` with `:`, it can be a good idea.

This also adds documentation writing guidelines for code blocks and admonitions.
This commit does not modify existing admonitions in any way (as this would
lead to a much larger diff, and require more localizable text to be revalidated
by translators).
2025-05-30 02:02:30 +02:00
Stephan Bogner
77a9ebc741 i18n: Add explanation for locales and automatic language setting (#10008)
Added information regarding locales and automatic language setting
2025-01-23 20:19:17 -05:00
gomakappa
7d38ce8fef upload images and edit pages 2025-01-04 16:20:39 -03:00
tetrapod00
c4d3aa134a Standardize RST header syntax 2024-12-29 13:44:09 -08:00
Danil Alexeev
17c8c2287a POT Generator: Document TRANSLATORS: and NO_TRANSLATE comments 2024-11-29 23:21:01 +03:00
tetrapod00
5994348764 Change all usages of "run-time" to "runtime" 2024-11-06 23:36:58 -08:00
Shawn Hardern
e09439a4e0 Add missing C# code examples to documentation
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-08-27 11:14:49 +01:00
Jacob Ibáñez Sánchez
ca44d32bf8 Remove unnecessary opinion about languages. 2024-06-28 10:06:00 +02:00
Hugo Locurcio
8fdd378fa3 Update asset library demo URLs to point to Godot 4.x demos 2024-04-18 03:34:54 +02:00
A Thousand Ships
bd6cc665a7 Fix incorrect uses of a/an 2024-03-29 15:14:27 +01:00
skyace65
7ee8145dc5 Update project name translation instructions 2024-02-25 20:06:59 -05:00
skyace65
aeea150288 Fix sub-section title style 2024-01-22 21:27:41 -05:00
Hugo Locurcio
95fb178429 Add support for user-provided comments with Giscus
This allows users to leave comments on pages that don't have
`:allow_comments: False` somewhere in the page's source.
Both manual and class reference pages can receive comments.
Index pages cannot have comments, as discussion should occur on "leaf" pages.

GitHub Discussions is used as a backend on the same repository. This means
that Discussions *must* be enabled on godotengine/godot-docs before this
commit is merged to `master`. Users can choose to use the "Custom" watch
mode if they don't want to get notifications for discussion updates,
but still get notifications for issue and pull request updates.

User comments are intended to be used for the following purposes:

- Add a clarification or correct something in the documentation,
  without having to open a pull request. Contributors are encouraged to
  take a look at discussions from time to time, and see if there's information
  worth incorporating in the pages themselves. Don't forget to reply to
  the comment when doing so :)
- Mention a workaround for a common issue.
- Link to useful third-party resources that are relevant to the current page,
  such as tutorials or add-ons.

User comments should *not* be used for technical support. Other community
platforms should be used for that.

Page-to-discussion matching is done using the `pagename` Sphinx variable,
which is independent of the Godot version and documentation language.
Being independent of the Godot version allows keeping old comments
when the Godot version changes, while also allowing users from `/stable`
and `/4.1` to "see" each other in discussions.

See https://giscus.app for more information.
2024-01-11 17:51:53 +01:00
Adriaan de Jongh
00d8799712 Specify POT Generation is only available for GDScript files 2023-12-14 11:55:59 +01:00
Haoyu Qiu
3b2b75ceda Fix property quotation in Internationalizing Games 2023-10-09 11:56:14 +08:00
Luca
aad0c41492 Update internationalizing_games.rst
fixed locale path on project settings

Delete tutorials/i18n/img/locale_test.png

Add files via upload

updated image in webp format
2023-10-03 10:50:36 +02:00
mehul-sinha
ccdce162ad fixed Localization using gettext wrong word #7749 2023-08-14 22:50:15 +05:30
Robin Gustafsson
25604d5c13 Fix formatting of pluralization code examples 2023-04-22 15:10:34 +02:00
Hugo Locurcio
3dfbfbf381 Add links to demo projects where relevant (#6874)
* Add links to demo projects where relevant

- Warn about poor compute shader support on mobile GPUs (due to driver bugs).
- Update control gallery image for 4.0.
- Fix typo in Internationalizing games.

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
2023-03-09 06:09:56 +01:00
Rémi Verschelde
bee2727c99 Update demo project links, 4.0-dev is now on master 2023-02-28 18:46:12 +01:00
Angad Kambli
c8d0af5ea5 Add pseudolocalization tutorial (#5119)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-02-24 00:23:58 +01:00
Hugo Locurcio
8dc01d24dc Update List of features for Godot 4.0.rc1 2023-02-22 02:23:12 +01:00
Hugo Locurcio
5a27a7949b Update internationalization docs for 4.0
- Document POT generation.
- Document translation contexts and pluralization.
- Document pseudolocalization.
- Document placeholder usage (not new in 4.0, but it's worth some explanation).
2022-11-23 16:30:32 +01:00
Douglas Leão
4f49d2f7ef Fix image link in Internationalizing games (#5899) 2022-07-01 19:47:49 +02:00
bruvzg
cd6e06c8ec Update "locale codes" list. 2022-06-10 16:44:23 +03:00
skyace65
a9af005495 Document how to test translations with the test project setting (#5488) 2022-04-29 13:08:18 +02:00
Hugo Locurcio
275b7452ba Fix typo in Localization using gettext 2022-03-31 18:38:02 +02:00
Max Hilbrunner
872eaf8bfd Merge pull request #5706 from Calinou/gettext-fuzzy
Add a note about fuzzy strings in Localization using gettext
2022-03-31 11:52:27 +02:00
Hugo Locurcio
5b88499418 Add a note about fuzzy strings in Localization using gettext 2022-03-22 13:13:50 +01:00
Hugo Locurcio
2683d66b8e Mention that binary .mo is now supported in Localization using gettext 2022-03-22 13:13:15 +01:00
Aaron Franke
5c7f653347 Optimize PNG and SVG images using oxipng and svgcleaner (#5254) 2021-09-14 17:50:17 +02:00
developer
74a7a0f396 Use pip3 instead of pip 2021-08-30 19:47:12 +02:00
Antonia Carrier
e03d360fc5 Fix typo and ordering in locales list (#5126) 2021-07-30 10:00:52 +02:00
DeeJayLSP
5e2ca0c91c Remove pleonasm in Localization using gettext (#4968)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-07 21:57:46 +02:00
Rémi Verschelde
0237f2c853 Merge pull request #4319 from bruvzg/ctl_docs
[Complex Text Layouts] Update tutorials and documentation to match TextServer changes.
2021-06-02 11:29:20 +02:00
Hugo Locurcio
8000d8f317 Document disabling automatic translation in Internationalizing games 2021-05-13 19:50:14 +02:00
bruvzg
20bcd1307a [Complex Text Layouts] Update tutorials and documentation to match TextServer changes. 2021-05-07 11:29:55 +03:00