Nico Knoll Posted June 13, 2014 Author Share Posted June 13, 2014 I think that we should always everything for the newest version. If some of the json files aren't required you don't have to use them (meaning PW won't use them). And I think you only download the german language packet if you have a fresh PW installation (probably the newest version). Link to comment Share on other sites More sharing options...
Manfred62 Posted June 13, 2014 Share Posted June 13, 2014 I would prefer the solution Marc suggested: made a stable and development lang-pack. If we made a 'one-for-all' there will be a lot of abandoned and doubled strings. The updates of the dev PW often change the strings inside. So I think making and maintain two versions of lang-packs is easier. When a new PW stable version is published, we can rename the dev-lang to e.g. version 2.5 and so on. And start the next dev-lang from 2.5. 2 Link to comment Share on other sites More sharing options...
yellowled Posted June 13, 2014 Share Posted June 13, 2014 When a new PW stable version is published, we can rename the dev-lang to e.g. version 2.5 and so on. And start the next dev-lang from 2.5. There's no need to rename, git can handle that (as Marc suggested). git offers a feature called branches. It basically means two copies of the same files in one repository. We would use the master branch for the stable versions and have a dev branch for the current development state. Once a new stable PW is available, we just merge the dev branch into master (that's a simple command in git – if nothing goes wrong, and if so, git offers tools to resolve the conflicts), tag the new version and are done with it. The problem with this is that it demands a bit of discipline and makes it a bit more complicated to contribute because contributors have to be able to use branches in git. That's actually not that complicated, but there's a chance to get confused while switching between branches. Link to comment Share on other sites More sharing options...
apeisa Posted June 14, 2014 Share Posted June 14, 2014 What about offering stable releases as a zip downloads (I think tagging offers this on github), and giving latest dev simply from github master. Link to comment Share on other sites More sharing options...
yellowled Posted June 14, 2014 Share Posted June 14, 2014 What about offering stable releases as a zip downloads (I think tagging offers this on github), and giving latest dev simply from github master. We already do that for the stable versions (using git tags), see Releases. I think most users would assume that a lang pack always matches the latest stable release of PW. So if you download a lang pack from the modules directory, it should match the current stable version of PW. The link in the modules directory also points to the latest master zip of the lang pack, so the master branch should be “in sync” with the stable releases of PW. Also, in my experience, users downloading from GitHub manually usually just grab the lastest master zip. We should also consider that there's now a module to install languages from the backend. I haven't tested it myself yet, but I assume that always fetches the latest master zip as well, right? 1 Link to comment Share on other sites More sharing options...
mr-fan Posted June 15, 2014 Share Posted June 15, 2014 Like announced here: https://processwire.com/talk/topic/6465-module-blog/page-3#entry64334 here we go - added some langfiles for this great module: site--modules--processblog--template-files--blog-recent-comments-php site--templates--blog-post-php site--templates--blog-recent-posts-php site--templates--blog-links-php site--templates--blog-recent-comments-php site--templates--blog-recent-tweets-php site--templates--blog-side-bar-inc site--modules--processblog--markupblog-module site--modules--processblog--processbloginstall-inc site--modules--processblog--processblog-module site--modules--processblog--template-files--blog-links-php site--modules--processblog--template-files--blog-post-php site--modules--processblog--template-files--blog-recent-posts-php site--modules--processblog--template-files--blog-recent-tweets-php site--modules--processblog--template-files--blog-side-bar-inc still some strings are not to translate in the adminmodule but this issue i will work out until i need it in a project...and give a pull request. have fun - mr-fan ProcessBlog-German.zip 2 Link to comment Share on other sites More sharing options...
wayne Posted June 17, 2014 Share Posted June 17, 2014 new german updates for actual PW dev 2.4.4 (12 June 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--templates-admin--default-php.json wire--modules--fieldtype--fieldtypepagetable-module.json wire--modules--system--systemupdater--systemupdater-module.json added files: wire--modules--process--processpagelister--processpagelister-module.json pw-lang-de-dev-update.zip It's really great, that you keep it up to date with the dev version. I have also found another file that needs translation for the new Lister module: /wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module This seems to contain the phrases for the filter dropdowns. 1 Link to comment Share on other sites More sharing options...
Manfred62 Posted June 17, 2014 Share Posted June 17, 2014 I have also found another file that needs translation for the new Lister module: /wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module This seems to contain the phrases for the filter dropdowns. thanks for the hint. new german updates for actual PW dev 2.4.4 (17 June 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). added files: wire--modules--inputfield--inputfieldselector--inputfieldselector-module.json pw-lang-de-dev-update.zip best would be to have a GitHub repo for the dev lang-pack as discussed above, so others can check and correct files if necessary? 5 Link to comment Share on other sites More sharing options...
Manfred62 Posted June 18, 2014 Share Posted June 18, 2014 new german updates for actual PW dev 2.4.5 (18 June 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--templates-admin--debug-inc.json pw-lang-de-dev-update.zip 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted June 19, 2014 Share Posted June 19, 2014 new german updates for actual PW dev 2.4.5 (19 June 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--inputfield--inputfieldselector--inputfieldselector-module.json wire--modules--process--processtemplate--processtemplate-module.json pw-lang-de-dev-update.zip 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted June 28, 2014 Share Posted June 28, 2014 new german updates for actual PW dev 2.4.5 (28 June 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--core--pages-php.json wire--core--wireupload-php.json wire--modules--fieldtype--fieldtypefile-module.json wire--modules--inputfield--inputfieldfile--inputfieldfile-module.json wire--modules--process--processlist-module.json wire--modules--process--processpagetype--processpagetype-module.json wire--modules--process--processrole--processrole-module.json pw-lang-de-dev-update.zip 4 Link to comment Share on other sites More sharing options...
Manfred62 Posted July 1, 2014 Share Posted July 1, 2014 new german updates for actual PW dev 2.4.5 (01 July 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--fieldtype--fieldtypefile-module.json wire--modules--inputfield--inputfieldimage--inputfieldimage-module.json pw-lang-de-dev-update.zip 1 Link to comment Share on other sites More sharing options...
Manfred62 Posted July 11, 2014 Share Posted July 11, 2014 new german updates for actual PW dev 2.4.7 (11 July 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--fieldtype--fieldtypepagetable-module.json wire--modules--inputfield--inputfieldselector--inputfieldselector-module.json wire--modules--process--processmodule--processmodule-module.json pw-lang-de-dev-update.zip 3 Link to comment Share on other sites More sharing options...
Manfred62 Posted July 28, 2014 Share Posted July 28, 2014 new german updates for actual PW dev 2.4.9 (28 July 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--process--processtemplate--processtemplate-module.json added files: wire--modules--inputfield--inputfieldckeditor--inputfieldckeditor-module.json pw-lang-de-dev-update.zip when PW 2.5 is ready, we have to remove TinyMCE language file from the default lang pack and offer it separately for the module. 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 2, 2014 Share Posted August 2, 2014 new german updates for actual PW dev 2.4.10 (02 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--fieldtype--fieldtypepage-module.json wire--modules--process--processrole--processrole-module.json added files: wire--modules--fieldtype--fieldtypeselector-module.json pw-lang-de-dev-update.zip 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 4, 2014 Share Posted August 4, 2014 new german updates for actual PW dev 2.4.10 (04 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--process--processpageadd--processpageadd-module.json added files: wire--modules--languagesupport--languagetabs-module.json pw-lang-de-dev-update.zip 5 Link to comment Share on other sites More sharing options...
apeisa Posted August 4, 2014 Share Posted August 4, 2014 Manfred, any interest updating the Finnish language pack also? 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 5, 2014 Share Posted August 5, 2014 Manfred, any interest updating the Finnish language pack also? huuuh, finnish looks very... strange 1 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 6, 2014 Share Posted August 6, 2014 new german updates for actual PW dev 2.4.10 (06 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--process--processfield--processfield-module.json wire--modules--inputfield--inputfieldckeditor--inputfieldckeditor-module.json added files: wire--modules--process--processfield--processfieldexportimport-php.json pw-lang-de-dev-update.zip 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 9, 2014 Share Posted August 9, 2014 new german updates for actual PW dev 2.4.11 (09 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--core--functions-php.json wire--core--wirehttp-php.json wire--modules--fieldtype--fieldtypefile-module.json wire--modules--process--processmodule--processmodule-module.json added files: wire--modules--inputfield--inputfieldpagetable--inputfieldpagetableajax-php.json wire--modules--inputfield--inputfieldpagetable--inputfieldpagetable-module.json wire--core--wirecache-php.json wire--core--pageimage-php.json wire--core--fields-php.json pw-lang-de-dev-update.zip 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 11, 2014 Share Posted August 11, 2014 new german updates for actual PW dev 2.4.11 (11 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--inputfield--inputfieldpagetable--inputfieldpagetable-module.json wire--modules--process--processmodule--processmodule-module.json added files: wire--core--modules-php.json wire--core--wiretempdir-php.json wire--modules--process--processmodule--processmoduleinstall-php.json pw-lang-de-dev-update.zip 4 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 13, 2014 Share Posted August 13, 2014 new german updates for actual PW dev 2.4.12 (13 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--process--processfield--processfield-module.json pw-lang-de-dev-update.zip 2 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 14, 2014 Share Posted August 14, 2014 new german updates for actual PW dev 2.4.12 (14 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--inputfield--inputfieldckeditor--inputfieldckeditor-module.json wire--modules--process--processforgotpassword-module.json pw-lang-de-dev-update.zip 3 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 15, 2014 Share Posted August 15, 2014 new german updates for actual PW dev 2.4.13 (16 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--core--inputfield-php.json wire--modules--process--processtemplate--processtemplate-module.json added files: wire--core--fieldgroups-php.json wire--modules--process--processtemplate--processtemplateexportimport-php.json pw-lang-de-dev-update.zip 1 Link to comment Share on other sites More sharing options...
Manfred62 Posted August 22, 2014 Share Posted August 22, 2014 new german updates for actual PW dev 2.4.14 (22 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--inputfield--inputfieldckeditor--inputfieldckeditor-module.json wire--modules--inputfield--inputfieldimage--inputfieldimage-module.json wire--modules--process--processfield--processfield-module.json pw-lang-de-dev-update.zip 3 Link to comment Share on other sites More sharing options...
Recommended Posts