Contribuie la traducerea WordPress-ului

Se pare că nu există niciun ghid despre cum poți contribui la traducerea în limba română a platformei WordPress așa că m-am decis să scriu unul.

Mai demult, existau mai multe traduceri neoficiale, găzduite pe diferite site-uri. La ora actuală, există un loc centralizat pentru traducerile în toate limbile, și anume translate.wordpress.org.

Traducerea în limba română poate fi găsită aici: http://translate.wordpress.org/projects/wp/dev/ro/default

Oricine poate adăuga sau modifica traducerile din orice limbă. Nu ai nevoie decât de un cont gratuit pe wordpress.org, care se poate crea de aici: http://wordpress.org/support/register.php

Înainte de a fi incluse în traducerea oficială, string-urile traduse trebuie aprobate de un validator. Asta se întâmplă de obicei cam înainte de lansarea unei noi versiuni majore a software-ului, cum ar fi WordPress 3.3.

Mai multe informații despre WordPress în română se află aici: http://ro.wordpress.org/

Conditional Script Loading Revisited

In 2010 I wrote a tutorial for loading JavaScript using the WordPress API. The main problem was how to enqueue a script only when needed; for example, when a certain shortcode was present on the page. Since WordPress 3.3, you can skip all the Yoda acrobatics; just call wp_enqueue_script() inside the shortcode handler: add_shortcode(’myshortcode’, ‘my_shortcode_handler’); [...]

Read full post...

Front-end Editor: Version 2.2

Editable groups It’s now possible to create arbitrary groups of editable elements. This opens the door for a lot of possibilities. For example, you can now edit all fields of a post at once, instead of one at a time. Go to the FEE settings page to enable it. Post creation One feature that was [...]

Read full post...

The Magic of WP_User

In previous versions of WordPress, when you called get_userdata() or get_user_by(), you got a plain stdClass object, filled with all the fields from both wp_users and wp_usermeta tables. This had two disadvantages: dashes were removed, so that ‘my-custom-field’ became ‘mycustomfield’ all fields were loaded and kept in memory, wasting precious resources Since WordPress 3.3, all [...]

Read full post...

When economists base their models on their fantasies of an “economic man” motivated only by self-interest, they forget community – the all-important web of meaning we spin around each other – the inescapable context within which anything truly human has taken place

Christopher Ryan and Cacilda Jetha

Posts 2 Posts: Version 1.1

I’m pleased to announce that the Posts 2 Posts plugin now also supports posts-to-users connections. (It supports users-to-users connections as well, but there’s no UI for them): https://github.com/scribu/wp-posts-to-posts/wiki/Posts-2-Users This is made possible by a new p2p_type column on the wp_p2p table, with which we can clearly distinguish between user ids and post ids. If you’re [...]

Read full post...

Lisp and Vim

What makes Lisp special is that executable code has the same syntax as data structures. What makes Vim special is that the mode for entering text uses the same keys as the mode for executing commands. Both Lisp and Vim have very powerful macro systems. Both Lisp and Vim rock my socks off.

Read full post...