Jump to content

Form API translate error messages


Nicolas
 Share

Recommended Posts

If you want to translate text, labels and stuff you can do this by wrapping your texts like:

<?php

echo __("String to be translated.");

Read more on this page how to work this out in the backend. Translating files is really easy!

  • Like 1
Link to comment
Share on other sites

The "missing required value" string is translatable in the file /wire/core/InputfieldWrapper.php. For your language pack, you would add this file as a translation target. 

  • Like 2
  • Thanks 2
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

×
×
  • Create New...