Commit 56993fa9 authored by Michal Čihař's avatar Michal Čihař

Add PHP format support

parent a7b48087
......@@ -68,6 +68,22 @@ and iPhone/iPad application translations.
generate corrupted files while saving), please use Git snapshot for
handling these.
PHP files
---------
PHP files can be processed directly, though currently Translate-toolkit has
some problems writing them properly, so please double check that your files
won't get corrupted.
Sample file which should work:
.. code-block:: php
<?php
$string['foo'] = 'This is foo string';
Others
------
......
......@@ -138,6 +138,10 @@ FILE_FORMATS = {
('properties', 'javautf8file'),
True,
),
'php': FileFormat(
ugettext_lazy('PHP strings'),
('php', 'phpfile'),
),
}
# Check if there is support for Android resources
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment