Login  Register

Re: arabic language

Posted by Pedro on Apr 09, 2013; 8:23pm
URL: https://support.nabble.com/arabic-language-tp7581259p7583946.html

akhayyat wrote
1. What are all the possible values of the "app" variable?
Mailing list, Gallery, Category, Subcategory, ... ?
That's right: Gallery, Category and Subcategory.
2. Some Apps, such as Gallery, are translated into two words. Would that work in the "is_masculine" macro?
For example, would this work:

<macro name="is_masculine" dot_parameter="noun">
        <n.not.regex_matches text="[n.noun/]" pattern="قائمة بريدية|مدونة|فئة فرعية|فئة"/>
</macro>
It might work.
3. For these two-word apps, "the <n.app>" in Arabic is different from "<n.app>" without "the".  For example:
Mailing list: قائمة بريدية
The mailing list: القائمة البريدية
Is there a way to handle this? For example, could there be another "theapp" variable besides the "app" variable?

(It is also sometimes necessary to add "the" to the translation regardless of whether there was "the" in the original English text. For example, "this <t.app>" would require the "the" version of the translation.)
You can create another macro to handle "the app".
And you can also test everything in your own app, just save the macros at your naml advanced editor.
My test forum.