ava007 / wnk_translation Goto Github PK
View Code? Open in Web Editor NEWTranslation Plugin for CakePHP 3
Translation Plugin for CakePHP 3
When you add multiple lines to the textarea, it doesnt get parsed like it should:
msgid "V pořádku obnoveno"
msgstr "line 1"
"line 2"
Instead it looks like this:
msgid "V pořádku obnoveno"
msgstr "line 1
line 2"
which is invalid
Helloes,
is this documented somewhere? po/pot/mo treatment etc? https://github.com/ava007/wnk_translation/blob/master/src/Controller/Component/UtltransComponent.php
I can only parse default.pot
it would be nice if it parsed all pot files, saved name in DB column and then you could filter by it.
I could probably make PR for this and other two issues because other than that plugin works nice.
There is only postgress file, guess there should be migration... anyway here is working mysql:
CREATE TABLE wnk_translation (
id varchar(36) primary key,
msgid varchar(255) NOT NULL,
locale varchar(5) DEFAULT 'cs_CZ',
created timestamp,
last_used timestamp DEFAULT NOW(),
`status` varchar(24) default 'Original',
msgstr text
);
CREATE TABLE wnk_translation_proposed (
id varchar(36) primary key,
msgid varchar(255) NOT NULL,
locale varchar(5) DEFAULT 'cs_CZ',
`status` varchar(24) default 'ProposedByUser',
created timestamp,
createdbyip varchar(41),
msgstr text
);
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.