Skip to content

Handle all translatable columns #214

Open

Description

@jnm

In addition to

if column_name in ['label', 'hint']:

…we need constraint_message, required_message, and guidance_hint to be recognized even if they don't have a ::language suffix. Check http://xlsform.org/ to make sure we aren't missing any other columns.

The list of columns should be stored in an easy-to-find constant so that it can be kept up-to-date as the XLSForm specification evolves.

Activity

  1. jnm commented on Apr 14, 2020

    @jnm
    MemberAuthor

    Can we get a list of translatable columns from pyxform? (Alex's idea)

  2. joshuaberetta commented on Jul 20, 2021

    @joshuaberetta
    Member

    This seems to be where pyxform handles the various translatable columns — unfortunately not great for integrating into formpack:

    https://github.com/XLSForm/pyxform/blob/cf7ba39d4c7214c3ff7f43394fb057622fd21382/pyxform/survey_element.py#L275-L279

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions