Update about prefix

This commit is contained in:
Marc 2020-06-16 00:18:01 +01:00 committed by GitHub
parent 928bd49daf
commit 9b20f4a17a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,7 @@ 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 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. 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 (GDScript and TSCN files have special parsing), but you can specify a prefix, in which case any common text format should work.
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) ![screenshot2](https://user-images.githubusercontent.com/1311555/48521813-14559600-e86e-11e8-8cf8-95580f97baf0.png)