dima74 / factorio-mods-localization Goto Github PK
View Code? Open in Web Editor NEWTranslate your Factorio mod easily with the power of Crowdin
License: MIT License
Translate your Factorio mod easily with the power of Crowdin
License: MIT License
How does this work if the main branch of a mod has a branch protection rule set up requiring pull requests?
I see that the last translation update was 22 November and I've made changes to my locale files since then that haven't been updated on crowdin (e.g. tburrows13/PowerOverload@14776b9 and tburrows13/ModuleInserterSimplified@a952c6c). Perhaps the updater script has crashed or something?
(I'm not in a rush for any of this to be fixed, if it is indeed a bug, just thought I'd let you know!)
Locale strings that contain the (valid) character ; (semi-colon) are improperly/incompletely parsed into the crowd-in project.
Also when you built the project 8/23/2020, a number of locale strings were enclosed in " " (quotes) that are not present in the translations or source locales, for example:
Source line in locale file:
reskins-bobs-hydrazine-is-blue=Color the Hydrazine Generator a [color=#7ac1de][font=default-bold]light blue[/font][/color] in relation to the fuel. Otherwise, the hydrazine generator will be colored as the fourth tier of fluid generator.\n\n[color=#9cdcfe]Default:[/color] [color=green]Enabled[/color]
Färbe den Hydrazin-Generator [color=#7ac1de][font=default-bold]hell blau[/font][/color], so wie den Treibstoff – andernfalls wird er nach der vierten Stufe der Ölgeneratoren gefärbt.
Line in german locale file as committed by FML:
reskins-bobs-hydrazine-is-blue="Färbe den Hydrazin-Generator [color=#7ac1de][font=default-bold]hell blau[/font][/color], so wie den Treibstoff – andernfalls wird er nach der vierten Stufe der Ölgeneratoren gefärbt.\n\n[color=#9cdcfe]Standard:[/color] [color=green]Aktiviert[/color]"
I can't translate on Crowdin, "The project you are trying to translate is currently suspended".
Just letting you know that I deleted the fork, but the locale files are still on Crowdin.
If files was deleted from source locale, script must erase it from Crowdin source too.
ZwerOxotnik/diplomacy@d95b51b it seems wrong
During regular translations update from Crowdin our service created extremely big commits. The reason was that for every language original (source) strings were used even if string is untranslated. The bug was fixed, and I reverted those big commits for all repositories (if it wasn't already reverted). Sorry for the inconvenience. Please feel free to ask any questions regarding this
I tried to delete some .cfg files, but I encountered some problems. Files in locale/en/*.cfg were successfully deleted, however, other files in other folders were "restored" by https://github.com/dima74/factorio-mods-localization
Some of my mods have unnecessary/outdated parts in .cfg files and I'm not sure how to remove them with https://github.com/dima74/factorio-mods-localization
Repos that have multiple mods
( for example https://github.com/Cereal-Sam/Factorio-Mods or https://github.com/OmnissiahZelos/omnimatter )
currently dont work with this app.
Supporting those would be very nice.
Splitting up the mods into their own repo would increase commit timesa lot for us since they are pretty coherent.
Each mod could be detected by looking for the info.json in each folder and using that as base path for the locale folder for example.
cfg file: ZwerOxotnik/brush-tools@65338fd
It should be like:
give-recolor-bt=Obtén una herramienta para cambiar el color
give-eraser-bt=Obtén una herramienta para borrar el color
Instead of:
give-recolor-bt=
Obtén una herramienta para cambiar el color=
give-eraser-bt=
Obtén una herramienta para borrar el color=
And that user haven't added =
at the end.
Based on my understanding, https://github.com/MrSmoothieHuman1/pirate-locale should work.
I don't know what I did wrong with the 'multimod repository,' but my refactor over on https://github.com/PennyJim/pirate-locale works.
Just for future reference, I would like to understand what may have gone wrong. Admittedly, the person who went ahead and created the repository is a git newbie and may have done something incorrect when adding the app.
2 Days ago I selected 3 of my repositories (Atomic Overhaul, More Ammo, More Repair Packs) to be translated on Crowdin, And only 1/3 (More Repair Packs) is currently on Crowdin, so I am wondering where the other 2 are. Sorry if I am just impatient.
Btw, cool project and Greetings from Germany!
Is it possible to specify which branch should be used? I would like it to detect locale changes in the dev branch rather than main branch. The PRs that it creates should also target the dev branch.
When locale file was changed on GitHub, script upload files to Crowdin. New strings appears on Crowdin as non-translated, but if source string was changed, only notification in "activity" appears (without any links or file names). Mark changed strings as non-translated too, because existing translation does not match the changed original text.
Hello!
Last week I finally setup some of my mods to (hopefully) be localized through the awesome service you created. However, of the 5 mods I selected only four showed up on the Crowdin website. Specifically, Better Victory Screen was not added.
This could be due to the way I did it. My steps:
Could you possibly have a look at it? :)
For now I've removed and re-added the mod repo. Will update here if that fixes it.
Screenshots
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.