Knowledge Base

Documentation to help you use the POEditor localization platform effectively

How to add placeholders to Flutter localization projects

Owner Admin Contributor

To manually add placeholders to a term in Flutter localization projects, the term's first comment should be formatted as below.

{
       "description": "This is displayed in My Account page",
       "type": "text",
       "placeholders": {
           "count": {
               "description": "number of users online",
               "example": "26"
           }
       }
}

Adding the variables in the first comment as indicated above will allow you to export ARB files with a proper structure from the POEditor localization management platform.

Additional help

Related articles