]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/po.mdwn
answering joey
[ikiwiki.git] / doc / plugins / po.mdwn
index e3feb8843bc403fcdee5d11f677310923b10e164..9426ec9c555b4fbc82b8bd1c7d079cf3d31fb7cb 100644 (file)
@@ -54,10 +54,10 @@ Supported languages
 `po_slave_languages` is used to set the list of supported "slave"
 languages, such as:
 
-        po_slave_languages => { 'fr' => 'Français',
-                                'es' => 'Español',
-                                'de' => 'Deutsch',
-        }
+        po_slave_languages => [ 'fr|Français',
+                                'es|Español',
+                                'de|Deutsch',
+        ]
 
 Decide which pages are translatable
 -----------------------------------
@@ -301,6 +301,25 @@ to an array to support this. (If twere done, twere best done quickly.)
 >>>> no way to really sanely represent complex data structures in web
 >>>> setup. --[[Joey]]
 
+>>>>> Implemented using the pipe separator, fixed the po.t test suite
+>>>>> accordingly. Please have a look. --[[intrigeri]]
+
+>>>>>> Merged. I wonder if "ll: Lang" would be better than pipe? 
+
+>>>>>>> I've no clear opinion on this one. --[[intrigeri]]
+
+>>>>>> Also, the compatability code for HASH is not really needed,
+>>>>>> ikiwiki has not been released using a hash for it. --[[Joey]] 
+
+>>>>>>> The compatibility code is there to support the
+>>>>>>> `po_slave_languages => {fr => 'Français'}` format that has
+>>>>>>> been supported for ages. It's not there to support the
+>>>>>>> intermediate array of hash-like pairs I proposed in the
+>>>>>>> meantime.
+>>>>>>>
+>>>>>>> By the way, could you please have a look to the rest of my po
+>>>>>>> branch? (bb22e8c4a..d98296d1db0) --[[intrigeri]]
+
 Pagespecs
 ---------