You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
As we all know, we have custom documentations for GDExtensions since 4.3. However, it seems that there lacks a way to enable it more localized, or more directly, to be more multilingual.
We hope that this feature, as an enhancement of the GDExtension documentations, could get implemented in recent versions or 4.4.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add support for localization, like .csv files, .po files (which is how Godot is now operating it).
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Here I just put what the SConstruct should add (based on @akien-mga's Threen, thanks to him):
ifenv["target"] in ["editor", "template_debug"]:
try:
doc_data=env.GodotCPPDocData("src/gen/doc_data.gen.cpp", source=Glob("src/doc_classes/*.xml"))
doc_loc=env.GodotCPPDocDataLoc("src/gen/doc_data_loc_*.gen.cpp", source=Glob("src/doc_classes/*.po")) # Here uses .po as an examplesources.append(doc_data)
exceptAttributeError:
print("Not including class reference as we're targeting a pre-4.3 baseline.")
If this enhancement will not be used often, can it be worked around with a few lines of script?
No, since it may be related to C++ source code
Is there a reason why this should be core and not an add-on in the asset library?
Addon doesn't have ability to provide advanced operations like adding supports for multilingual GDExtension documents, and only C++ source code can solve this problem.
The text was updated successfully, but these errors were encountered:
Describe the project you are working on
Any GDExtension projects that needs localization
Describe the problem or limitation you are having in your project
As we all know, we have custom documentations for GDExtensions since 4.3. However, it seems that there lacks a way to enable it more localized, or more directly, to be more multilingual.
We hope that this feature, as an enhancement of the GDExtension documentations, could get implemented in recent versions or 4.4.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add support for localization, like
.csv
files,.po
files (which is how Godot is now operating it).Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Here I just put what the
SConstruct
should add (based on @akien-mga's Threen, thanks to him):If this enhancement will not be used often, can it be worked around with a few lines of script?
No, since it may be related to C++ source code
Is there a reason why this should be core and not an add-on in the asset library?
Addon doesn't have ability to provide advanced operations like adding supports for multilingual GDExtension documents, and only C++ source code can solve this problem.
The text was updated successfully, but these errors were encountered: