Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate Custom Fields in StaticPages #366

Closed
MateThemes opened this issue Nov 11, 2018 · 5 comments
Closed

Translate Custom Fields in StaticPages #366

MateThemes opened this issue Nov 11, 2018 · 5 comments

Comments

@MateThemes
Copy link

Hello everyone!

Is it possible to translate custom fields in staticpages that are defined in a yaml?

I did not get it managed or is it currently not supported?

@MateThemes
Copy link
Author

MateThemes commented Nov 11, 2018

tmhero:
  name: 'Hero'
  description: 'Hero Block for Page Headers.'
  icon: icon-file-image-o
  fields:
    section_tmhero_section:
      label: 'Hero'
      type: section
      comment: 'Add a Hero Block to your Page (use this on every page, because the Navbar is transparent.).'
      cssClass: 'p-a m-y control-scrollpanel'
    section_tmhero_logoimage_switch:
      label: 'Show Hero Logo?'
      type: switch
      default: false
      span: full

For example to make this translatable!

@MateThemes
Copy link
Author

I see there is no translation possible?

@LukeTowers
Copy link
Contributor

@datune @vannut one of you know the answer to this?

@MateThemes
Copy link
Author

I have to make clear. I mean custom fields that are created with in a Theme with a yaml file!

@daftspunk
Copy link
Member

Hey @MateThemes

This should be possible with the multisite feature that arrived in v3.1: https://docs.octobercms.com/3.x/cms/resources/multisite.html

Feel free to get in contact with the team if you need help setting this up:
https://octobercms.com/contact

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants