Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 64413

Strings translations doesn’t work with theme mod array data

$
0
0

Replies: 0

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 all articles
Browse latest Browse all 64413

Trending Articles