Jump to content

Translation file for field label names


Roope
 Share

Recommended Posts

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

  • 2 weeks later...

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...