<div dir="ltr">Hi<div><br></div><div>We've decided to keep it really simple. We'll pick the interface language from the user's language setting & disable the endorsements on translated pages. We are assuming the primary grant language as english, till such time that the mediawiki bug is fixed or we decide to tag the page with a language marker inside the wikitext ourselves (It'll be local to our gadget though).</div>
<div><br></div><div>Jeph</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 5, 2014 at 2:15 PM, Seb35 <span dir="ltr"><<a href="mailto:seb35wikipedia@gmail.com" target="_blank">seb35wikipedia@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
03.05.2014 12:38:00 (CEST), Jeph Alapat kirjoitti:<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We want users to be able to create grants in the own language too. We were<br>
assuming we could edit the translated pages using the API but that does not<br>
seem the case. It isn't possible to manually edit the translated page<br>
either.<br>
</blockquote>
<br></div>
No, the Translate extension is thought to keep alignment between languages, hence it is forbidden to change translated pages. Since your script cannot add endorsement on translated pages, I suggest adding the endorsements on a common page (e.g. "IEG name/Endorsements") and it will also avoid changing a translatable page (translation admins will not like continuously marking pages to be translated and I’m not sure it is needed to translate the endorsements). On a common page, perhaps the multilingual aspects can even be shown by adding endorsements:<br>

* {{#language:fr}}: {{lang|fr|Fantastique IEG !}} ~~~~<br>
<br>
Note: for the page language, there is mw.config.get('<u></u>wgPageContentLanguage')<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
We are actually not looking for translation per se, we want users to be<br>
able to create pages in different languages in the Grants namespace.<br>
<br>
Eg: The user should be able to create<br></div>
IEG's<<a href="https://meta.wikimedia.org/wiki/Grants:IEG" target="_blank">https://meta.wikimedia.<u></u>org/wiki/Grants:IEG</a>>in his/her language.<div class=""><br>
There will be a template which will need translations<br>
(The skeleton for a grant), but from then on we wont be needing the ability<br>
to translate. The user should be able to go ahead & add content in his<br>
language.<br>
<br>
What would be the best way to achieve this in meta? Looking forward to your<br>
comments.<br>
</div></blockquote>
<br>
Apart from the bug pointed by Nemo is quickly resolved (I have some doubts), perhaps you can add the new submissions on a temporary page (e.g. "IEG name/Original proposal") and ask translators to translate from language-to-English without the Translate extension.<br>

<br>
If you don’t know the InputBox extension, you can be interested in it (or its functionalities), particularly the preload and editintro parameters if you want to preload a skeleton page to be filled, possibly even with templates and/or in a specific language.<span class="HOEnZb"><font color="#888888"><br>

<br>
~ Seb35<br>
</font></span></blockquote></div><br></div>