-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement basic C# translation parser plugin #256
base: master
Are you sure you want to change the base?
Conversation
this is neat, we're currently not working in master at the moment. We'll have to come back and look at this after we got all the rebranding stuff done and into master. |
Is it possible to write this feature in C#? Just like the C# export feature, if write this feature in C#, should have an advantage in parsing the C# source code. |
I would also like to see this type of feature sent upstream to Godot, though yeah probably a better plan if this could be done from C# for source code parsing reasons. |
Since we've re-assessed our position on sending things upstream by default recently, we can take a look at this closely soon |
Changes to this PR were already requested, the author has not come back. |
I think this function should be implemented by |
I finished it |
This PR implements a basic C# translation parser plugin. It extracts
Tr
,TrN
,Atr
andAtrN
calls from C# scripts and generates entries for the POT file generator. The implementation is very basic compared to the GDScript translation parser because we can't properly parse C# source code for obvious reasons.I have no prior C++ experience at all. I only implemented this because I needed it for my project.