mirror of
https://github.com/Relintai/godot_translation_editor.git
synced 2024-11-20 08:37:18 +01:00
Merge branch 'master' of https://github.com/Zylann/godot_translation_editor
This commit is contained in:
commit
21caa3f0b8
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user