Talk:Fb:intl

From Facebook Developer Wiki

Jump to: navigation, search

[edit] FBML Tags with attributes

How do we translate FBML tags with text in their attributes? i.e. fb:multi-friend-selector has a required string attribute "actiontext" that should be translated. However using fb:tag to generate the tag results in the error "Names beginning with "fb" are reserved by Facebook (fb:multi-friend-selector)"

Also, perhaps more seriously the fb:tab-item "title" attribute suffers from this problem which means tab titles can never be translated!

Use the fb:fbml-attribute tag. -- Pete (563683308 10:49, 3 February 2009 (PST))

[edit] nested fb:intl tags: Something seems to be wrong within the example

I tried using the same code as in the example:

 <fb:intl>
  Click {here} to update your settings. 
  <fb:intl-token name="here">
     <a href="settings.jsp"><fb:intl desc="In 'Click here to update your settings.'">here</fb:intl></a>
  </fb:intl-token>
 </fb:intl>

This code results in an error message as bellow:

fb:intl: Required fbml_env var missing: "translations"

Any suggestion?

I spoke with an engineer who works on this code and he thinks it's a bug, so I just filed bug 4883 so you can track this. Thanks for reporting it. -- Pete (563683308 12:40, 3 April 2009 (PDT))
Update: This bug was fixed as of 18 June, 2009. If it crops up again, please reopen bug 4883. Thanks, Pete (563683308 13:21, 18 June 2009 (PDT))

<Fb:intl> Tags are not recognised at all in new FBML applications. I don't know how much more to elaborate the problem. I followed the documentation word for word. In the browse phrases section of Translations, none of the text wrapped in the fb:intl tag shows up. This I think is a serious bug.

Did you upload the strings you want translated with Intl.uploadNativeStrings? Pete -- 563683308 09:52, 24 November 2009 (PST)
reference