Roope Posted March 4, 2013 Share Posted March 4, 2013 Is it possible to make translation file that would override default field label names? For example if I want't to use Finnish as default language for most of my sites, it would be killer to have Finnish label names included in my language pack so I don't have to rename same title labels on every install. Link to comment Share on other sites More sharing options...
arjen Posted March 4, 2013 Share Posted March 4, 2013 This is possible. You can also add a language and then set the guest role to your language. Link to comment Share on other sites More sharing options...
Roope Posted March 14, 2013 Author Share Posted March 14, 2013 Thanks for your reply arjen! This wasn't quite what I was looking for though. I've made my own custom set of default fields and made sql-dump out of the config by Ryans profile export module to use as my default install. All field labels and descriptions are in english. So I'd like to include translation file for these custom default fields to my language pack. Can it be done? Link to comment Share on other sites More sharing options...
ryan Posted March 16, 2013 Share Posted March 16, 2013 While they can't be included in an actual language pack (which is meant for translating the static text in PHP files), they can be exported as SQL dumps. The profile export module was written before multi-lang features existed in ProcessWire, and I need to update it to support it. But it should be fine to create your own SQL dump with translated field names, etc., and import that (via mysqli client, phpmyadmin, etc.) when needed. 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