OrchardCMS/OrchardCore.Translations

PO Extractor Tool

hishamco opened this issue · 13 comments

@agriffard I'd like to inform you that the PoExtractor has been moved into Orchard Core Contrib (OCC) I maintaining the library right now, fixing issues and planning to publish a NuGet package in the upcoming days. I might change the package name, so I need to coordinate with you regarding crowdin. When and how you are using this tool to generate the resources?

I generate the .pot files before a Release, update them in this repo and then call a Sync button in Crowdin.

So, you did it manually at your end, right?

I install the tool and execute extractpo-oc D:\Orchard\OrchardCore C:\temp\OrchardCore --liquid to generate the .pot files.

I will let you know if I updated the package name. Also we might automate the process you did if it's possible

FYI I just release a preview release after adding few enhancements and bug fixing https://www.nuget.org/packages/OrchardCoreContrib.PoExtractor/1.0.0-preview

Please have a try, your feedback are always welcome

BTW check the README.md there 're few updated in the tool name and CLI options

@agriffard did you update this one?

I generated the pot files last week but I still had the preview and it messed up the files so I reverted them, updated to 1.0 and with the help from Crowdin support, everything went back correctly.

I see, please use the latest version, let me know if there's an issue

@agriffard I need to reproduce the issue, so I can fix the bug if there's

No trouble anymore with https://www.nuget.org/packages/OrchardCoreContrib.PoExtractor/1.0.1
I updated the .pot files in prevision of OC 1.7.

LGTM, I will close this one