Surely since Translate doesn't support it, the fact that none of the extensions that Translate does support use it, is something of a non sequitur?!? :-p There are 552 .alias.php files in /trunk/extensions, and 1786 .i18n.php files. Obviously it's hard to put a number on how many of the difference are just extensions without any SpecialPages, but I'd venture that the combined syntax is quite common.
--HM
"Siebrand Mazeland" s.mazeland@xs4all.nl wrote in message news:414E19DC-3E6B-4A12-B7E1-462161AE624E@xs4all.nl...
It being possible since whenever does not make it the standard, as out of the 400 or so extension that Translate supports, actually zero do it that way.
As no patches have been submitted to change the behaviour of Translate and because it was never seen as an issue with a high priority, it was never addressed - and probably will not change until someone cares enough.
We'd happily welcome patches to Translate on this feature request or any of the other open issues and features (http://translatewiki.net/wiki/Issues_and_features)! -- Siebrand Mazeland
M: +31 6 50 69 1239 Skype: siebrand
Op 24 aug. 2011 om 00:24 heeft "Happy-melon" happy-melon@live.com het volgende geschreven:
The contrary (all localisations go together in foo.i18n.php) has been the standard since r52503. Does Translate really still not recognise this format after over two years?
--HM
"Siebrand Mazeland" s.mazeland@xs4all.nl wrote in message news:E2722961-0FE3-4041-9E24-58A2C70AC148@xs4all.nl...
Please put messages, aliases and magic words in different files, otherwise the Translate extension does not understand it.
Naming covention:
- messages: <extensiondir>/<extensiondirname>.i18n.php
- aliases: <extensiondir>/<extensiondirname>.alias.php
- messages: <extensiondir>/<extensiondirname>.magic.php
-- Siebrand Mazeland
M: +31 6 50 69 1239 Skype: siebrand
Op 23 aug. 2011 om 06:49 heeft Jeroen De Dauw jeroendedauw@gmail.com het volgende geschreven:
Hey,
Thanks for the info. I'm still unclear on what the best practices are for 1.16 and later code. Am I supposed to put the $specialPageAliases in the same file i18n file as the regular messages, or is it better to put them in a separate file? And in case of the later, how is this file preferably named?
Cheers
-- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. -- _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l