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 pinned comment should be formatted as below. If you write the comment in POEditor, pin it with the pin icon next to it:

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

Adding the variables in the pinned 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