Your SlideShare is downloading. ×
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Total World Domination with i18n (es)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Total World Domination with i18n (es)

739

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
739
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. #bonyurtulemon
    • 2. Zé@zedejose
    • 3. Zé portuñol 2.0ahora con menos portu y más ñol
    • 4. DOMINACIÓN MUNDIAL TOTAL CON i18n
    • 5. i18n?
    • 6. i18nINTERNATIONALIZATION
    • 7. l10nLOCALIZATION
    • 8. l10nLOCALIZATION
    • 9. ¿PORQUE?
    • 10. SENCILLOAUDIENCIA COOL
    • 11. SENCILLOAUDIENCIA COOL
    • 12. SENCILLOAUDIENCIA COOL
    • 13. IT’S ONLYGETTEXTBUT I LIKE IT bit.ly/i18n-gettext
    • 14. . POT. PO. MO
    • 15. . POT. PO. MO
    • 16. . POT. PO. MO
    • 17. originales.potes.poes.mo php
    • 18. TEMAadd_action(after_setup_theme, my_theme_setup);function my_theme_setup(){ load_theme_textdomain(my_theme, get_template_directory() . /languages);} bit.ly/i18n-theme
    • 19. PLUGINload_plugin_textdomain( my-plugin, false, dirname( plugin_basename( __FILE__ ) ) . /languages/); bit.ly/i18n-plugin
    • 20. echo "estas son puras mentiras";
    • 21. “ECHO” SIMPLESecho “estas son puras mentiras”; _e( "those are pure lies" );
    • 22. SIN “ECHO”$variable = “estas son puras mentiras”;$variable = __( "those are pure lies" );
    • 23. VARIABLES_e("We deleted $count spam messages.");
    • 24. VARIABLES _e("We deleted $count spam messages.");printf(__("We deleted %d spam messages."$count); ),
    • 25. VARIABLES > 1printf(__("this %1$s, that %2$s $this, $that); ),
    • 26. PLURALESprintf(_n("%d post", "%d posts", $count), $count);
    • 27. CONTEXTO_e( ) _ex( )__( ) _x( )_n( ) _nx( )
    • 28. CONTEXTO_ex( "those are pure lies", "explanation" );
    • 29. CONTEXTO_x( "returns a string", "explaining the _x() function" );
    • 30. COMENTARIOS/* translators: this is a date format, see http:php.net/date */_e( "g:i:s a" );
    • 31. “TEXT DOMAIN” _e( "text", "my-plugin" ) __( "text", "my-plugin" )_n( "single", "plural", $count, "my-plugin")
    • 32. “TEXT DOMAIN” _e( "text", "my-plugin" ) ¡NOOOO! __( "text", "my-plugin" )_n( "single", "plural", $count, "my-plugin")
    • 33. http://i18n.svn.wordpress.org/tools/trunk/ add-textdomain.php
    • 34. php add-textdomain.php my-plugin my-plugin/*.php
    • 35. MAKE SOME .POT
    • 36. http://i18n.svn.wordpress.org/tools/trunk/ makepot.php
    • 37. php makepot.php wp-plugin my-plugin my-plugin.pot php makepot.php wp-theme my-theme my-theme.pot
    • 38. RECAPITULANDOFICHERO LEÍDO TEXTOS ENFUNCIONES CONTEXTO YCOMENTARIOS ONDENECESARIO TEXTDOMAINAÑADIDO FICHERO .POTGENERADO
    • 39. RECAPITULANDOFICHERO LEÍDO TEXTOS ENFUNCIONES CONTEXTO YCOMENTARIOS ONDENECESARIO TEXTDOMAINAÑADIDO FICHERO .POTGENERADO
    • 40. RECAPITULANDOFICHERO LEÍDO TEXTOS ENFUNCIONES CONTEXTO YCOMENTARIOS ONDENECESARIO TEXTDOMAINAÑADIDO FICHERO .POTGENERADO
    • 41. RECAPITULANDOFICHERO LEÍDO TEXTOS ENFUNCIONES CONTEXTO YCOMENTARIOS ONDENECESARIO TEXTDOMAINAÑADIDO FICHERO .POTGENERADO
    • 42. RECAPITULANDOFICHERO LEÍDO TEXTOS ENFUNCIONES CONTEXTO YCOMENTARIOS ONDENECESARIO TEXTDOMAINAÑADIDO FICHERO .POTGENERADO
    • 43. RECAPITULANDOFICHERO LEÍDO TEXTOS ENFUNCIONES CONTEXTO Y ¡LISTO!COMENTARIOS ONDENECESARIO TEXTDOMAINAÑADIDO FICHERO .POTGENERADO
    • 44. bit.ly/i18n-wordpress
    • 45. _e( "Thank you!", "@zedejose" );

    ×