• Resolved shrimp2t

    (@shrimp2t)


    Hey

    I can see it works with the customize setting if it save data as string
    Example: i have theme mod name “address” and it save as string “Address here” -> It works/Can translate

    However i have another theme mod and name “user” and the data will look like this:

    array {
    ‘name’ => ‘Jonh’,
    ‘address’ => ‘Address here’,
    ‘phone’ => ‘123 456 789’
    }

    ==> It doesn’t works

    Or example with list users:

    array {

    array {
    ‘name’ => ‘Jonh’,
    ‘address’ => ‘Address here’,
    ‘phone’ => ‘123 456 789’
    },

    array {
    ‘name’ => ‘Jame’,
    ‘address’ => ‘Address here’,
    ‘phone’ => ‘123 456 789’
    }
    ,…

    }

    ==> It doesn’t works

Viewing 1 replies (of 1 total)
  • Plugin Author Modeewine

    (@modeewine)

    Yes, that is right. We can not know in advance which variables are used as strings-translations. This is logical.

Viewing 1 replies (of 1 total)
  • The topic ‘Strings translations doesn’t work with theme mod array data’ is closed to new replies.