Details about detection

This commit is contained in:
Marc 2020-06-14 05:22:32 +01:00 committed by GitHub
parent 004983be75
commit 7ea69ebd1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,15 @@
Translation editor for Godot Engine
=====================================
This is an editor plugin to edit translation files from inside Godot Engine. It supports .csv and .po files, although gettext support is limited to what Godot can handle. It can extract strings from your project automatically and adds them to a list for you to translate.
It can also be used as a standalone editor if `translation_editor.tscn` is run or exported as main scene.
This is an editor plugin to edit translation files from inside Godot Engine. It supports .csv and .po files, although gettext support is limited to what Godot can handle. It can also be used as a standalone editor if `translation_editor.tscn` is run or exported as main scene.
It can extract strings from your project automatically and adds them to a list for you to translate. There is no particular convention to use.
The tool supports the following file types:
- `*.gd`: detects strings used with `tr()` and `TranslationServer.translate()`.
- `*.tscn`: detects string properties known to be translatable
C# and binary files are not supported yet, but may be added in the future.
Some projects use a prefix convention to use strings in places harder to auto-detect, so supporting them may also be implemented.
![screenshot2](https://user-images.githubusercontent.com/1311555/48521813-14559600-e86e-11e8-8cf8-95580f97baf0.png)