jacmaes Posted June 24, 2014 Share Posted June 24, 2014 I'm using a page field with checkboxes (with the option "allow new pages to be created from field") to enable editors to select multiple tags / categories: This works as expected but the option to add new pages (the "create new") does not seem to be translatable. It seems to be hardcoded in "InputfieldPage.module". Am I missing something or should I submit a Github issue to add translation support for this option? Link to comment Share on other sites More sharing options...
LostKobrakai Posted June 24, 2014 Share Posted June 24, 2014 Which version of ProcessWire do you use? A quick look at 2.4.0 and newest dev version shows translateable strings for everything that's still english in your screenshot. 1 Link to comment Share on other sites More sharing options...
jacmaes Posted June 24, 2014 Author Share Posted June 24, 2014 I'm using 2.4.5. I must be missing some language translation files then because I can't find any relevant translateable strings. Could you point me to the names of the json file(s)? Link to comment Share on other sites More sharing options...
LostKobrakai Posted June 24, 2014 Share Posted June 24, 2014 As far as I know most of the language packs are changed with full releases, so there are differences between 2.4. and the dev version. Have you tried deleting the existing InputfieldPage.module translation file and manually add a translation via the admin backend, instead of uploading the json from the language pack? 1 Link to comment Share on other sites More sharing options...
mr-fan Posted June 24, 2014 Share Posted June 24, 2014 Quick hint for translation: 1. Step use the ProcessLanguageTranslator https://github.com/kixe/ProcessLanguageTranslatorPlus/blob/master/README.md 2. Step with this Addon you could choose any "untranslated" file in a List including corefiles... best regards mr-fan 2 Link to comment Share on other sites More sharing options...
jacmaes Posted June 25, 2014 Author Share Posted June 25, 2014 Thanks guys for these helpful tips. After deleting the InputfieldPage.module translation file and recreating it using mr-fan's tip, I can now see the fields that need translation. As a bonus, I can also translate third-party module such as Map Marker (I've always wondered whether that was possible without hacking the module directly). Link to comment Share on other sites More sharing options...
mr-fan Posted June 25, 2014 Share Posted June 25, 2014 I've been searching the whole addon repo for interesting tools for my few testinstallations especially for translation and found it...it should be metioned in the doc for translating somewhere maybe a comment on that page i will go for it. Gald to help since and just a newbee on PW Link to comment Share on other sites More sharing options...
LostKobrakai Posted June 25, 2014 Share Posted June 25, 2014 It's nice to get the list of translateable files, but you could translate them all without the module by adding them via the path. One is more newbie friendly, but shows lots of files, you may not need, the other way is more for people, who already know what they want to do. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now