Mjml relative path url9/19/2023 ![]() ![]() ![]() If set to true, the key generator tool, replaces text content of all elements with keys. Provide a comma-seperated list of data-win-options that should be translated. addDataWinOptions=some-attribute,another-attribute Provide a comma-seperated list of html attributes that should be translated. addHtmlAttributes=some-attribute,another-attribute Use the character "%" for seperating the regular expressions. Provide a list of regular expressions for placeholders that should not be translated. excludePlaceholderRegExp='.*d$%.*prefix$' If set to true all "data-ph-*" placeholders get replaced by keys. Default folder is "TranslationExport" in the formDefinition folder. outputFolder=./formdefinitions/TranslationExport The first provided culture is used as default. Provide a comma-seperated list of languages that should be included in the translation files, eg: "en-US,de-DE,zh-CN". Relative path to the FormDefinition folder. formDefPath=./formdefinitions/formDefinitionFolder Npm run generateTranslations -formDefPath=./formdefinitions/formDefinitionFolder -langCultures=de-DE,en-US Usage Replaces predefined contents of html attributes, data-win-options and text content with translation keys, saves the original contents to a translation.json file and generates an excel file. HybridForms helper tool to generate translation keys for multilingual forms. To create a form the command line or a bash script can be used: It creates the absolute minimum to start creating an own HybridForms form. The boilerplate is a CLI tool to create a starting point for FormDefintion development. Will print verbose info for the execution.ĭownload backup of FormDefinition before upload. "" ""ĭownload FormDefinition files as ZIP. The password of the AD user for ADFS and Basic Auth. u username of the AD for ADFS and Basic Auth. To upload the command line or a bash script can be used: The default redirect url is localhost:8484/oauth but the port can be changed. It supports all used authentication methods available for HybridForms.ĪzureAD authentication must either use ClientID and ClientSecret or allow an additional redirect url to use OAuth authentication. The uploader is a handy CLI tool to upload FormDefinition files to a given server. Default is true.įormat HTML file after processing. Default is true.Ĭompile TypeScript and SASS files. Update the Date property on the Form version tag, see Form Version. Provide a comma seperated list of strings and/or a glob patterns." See also " Placeholders"ĭefines a list of files that should not be exported. outputPath=relPath/to/your/custom/export-folderĪppend custom postfix to exported folder name.ĭefine which placeholder from the placeholder.json should be used. formDefPath=relPath/to/your/formdefinition-folder Npm run export -formDefPath=relPath/to/your/formdefinition-folderģ) The exported formdefinition gets copied to export folder in your formDev root: To export the command line or a bash script can be used:ġ) Navigate to the root of the formdev-projectĢ) call the export script with the formdefinition folder path you want to export: We reccomend the usage for all projects because of the clean up of unnecessary files Usage ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |