Comments (3)
Should be easy with:
setDeveloperComments($developerComments)
setReference($reference)
Example workflow:
-
First time translation with po merge-file on plugin wordpress-seo
#, fuzzy
#: wordpress-seo
#. 1
msgid "Categories"
msgstr "Catégories" -
Second time translation with po merge-file on theme twenty-twenty
#, fuzzy
#: wordpress-seo twenty-twenty
#. 2
msgid "Categories"
msgstr "Catégories" -
Third time translation with po merge-file on theme generatepress
#, fuzzy
#: wordpress-seo twenty-twenty generatepress
#. 3
msgid "Categories"
msgstr "Catégories" -
Forth time translation with po merge-file on plugin contact-form-7 (trigger is reached so fuzzy is removed)
msgid "Categories"
msgstr "Catégories"
from po-merger.
What is the advantage of doing that? In my mind, the goal of the dictionary is to contain translations that we know are good and are manually validated.
Therefore, I don't see the point of the fuzzy flag. I truly think if we are not sure about a translation, it shouldn't be added.
If the goal is to have a dictionary fills itself automatically, I truly doubt that this is a good idea.
I'm open to discuss this further before we make a decision.
from po-merger.
I agree with you po merge-file
should be used only on 100% validated translated files.
So this feature should not be in po merge
command but po merge-file
command.
The main advantage would be:
- to create a dictionary from scratch for a new language based on themes and plugins 100% translated.
- to enhance an existing dictionary like fr-ca by an easier management (less time consuming).
Today when I merge a new theme to the dictionary, I have to remove manually all fuzzy flags manually which is time consuming for hundreds of lines.
But with this automation, it would be done automatically by reaching the magic number of themes+plugins using a given string.
I could mesure for 100 strings how much time it will save if it helps.
I will be available by phone for more detailed explanations.
from po-merger.
Related Issues (11)
- Good parameters return errors HOT 1
- Support WordPress sub project translations HOT 1
- Generating empty file HOT 3
- Support translation URL
- Run the package without a WordPress installation HOT 1
- Function has_only_header is flawed HOT 1
- Manage different translation URL format HOT 3
- Fix tests and add missing ones
- Wrong stat number for "Copied from copy locale" HOT 2
- Enhancement: add stat for empty strings left HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from po-merger.