.string file not able to extract some strings

 Hi,

 

I have read certain threads about how to deal with .strings file types & was able to extract strings from it but the below type of strings are omitted by SDL & not extracted that text:

"alert.logout.confirmation.message" = "Are you sure you want to logout from \"%@\"?";   (not extracted)

"alert.logout.confirmation.confirm" = "Yes, logout"; (extracted)

 

the first line was not extracted but it directly jumped to the 2nd line. may be the case is ""

 

Please help

Parents
  •  

    Unknown said:

    I have read certain threads about how to deal with .strings file types & was able to extract strings from it but the below type of strings are omitted by SDL & not extracted that text:

    "alert.logout.confirmation.message" = "Are you sure you want to logout from \"%@\"?";   (not extracted)

    "alert.logout.confirmation.confirm" = "Yes, logout"; (extracted)

    This is almost certainly down to the filetype you have created for this.  You need something like this:

    Opening Pattern

    ".+"\s=\s"

    Closing Pattern

    ";

    That should pick up what you're after.  Then maybe something like this for the placeholders:

    \\"%@\\"

    Or... perhaps?

    \\".+?\\"

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Reply
  •  

    Unknown said:

    I have read certain threads about how to deal with .strings file types & was able to extract strings from it but the below type of strings are omitted by SDL & not extracted that text:

    "alert.logout.confirmation.message" = "Are you sure you want to logout from \"%@\"?";   (not extracted)

    "alert.logout.confirmation.confirm" = "Yes, logout"; (extracted)

    This is almost certainly down to the filetype you have created for this.  You need something like this:

    Opening Pattern

    ".+"\s=\s"

    Closing Pattern

    ";

    That should pick up what you're after.  Then maybe something like this for the placeholders:

    \\"%@\\"

    Or... perhaps?

    \\".+?\\"

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children