Support Log in

44. Integration with LangForge (Multilingual Forms)

Developer Guide
Prefer video? Watch the Fillin Forge tutorials 9 short guides covering every feature Watch

Fillin Forge hands every translatable string to a filter and asks which language is active, so a translation plugin such as Lang Forge does the translating. The hooks are listed in Translation String Hooks.

  • formforge_translate_string (filter): receives $string, $key, $field_id and $form_id, and returns the string to show. Without a listener the original string is shown.
  • formforge_current_language (filter): receives an empty string and $form_id, and returns the language code of the page.
  • formforge/strings_registered (action): fires when a form is created or updated, with the form id and the list of its strings.
Forge AI Assistant Online

Hi! I'm the Fillin Forge AI assistant. Ask me anything about the plugin — setup, features, troubleshooting, or development.

Just now
Powered by Forge AI · Browse docs