|
So must of us have a lot of content on our sites in one language or another. Since we are web professionals we spent all that time we could have been learning human languages - instead learning computer languages . So we need someway to translate our ...
Started by Xeoncross on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
It appears to be unofficial, but it's hosted on Google code, so if it's something that Google didn't want above?
Well, you should read the EULA....
It looks like there is an (unofficial) API for php to translate using Google translate.
|
|
I'm working on an iPhone app with some simple animation.
I have a view I want to translate, but not along a line. I want to translate it parabolically. Imagine that I am animating a car moving along a curved road.
I know I can set the transform properly...
Started by bpapa on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you also want your car to rotate as it curves along the parabola (will look more work? What you want to do sounds very much like rendering text along a curve (see screenshot too, you'll want to use a CAKeyframeAnimation....
Or vice versa).
|
|
I have a project which I want to translate into multiple languages for the PHP Part I use Zend Frameworks Zend_Translate with GetText. Now I want to translate the JS part too.
I am using the jQuery JS Framework and would love to hear your thoughts on ...
Started by Thomaschaaf on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Then for every locale: Using a language with GetText support (in my case PHP) I translate all the strings the server to execute .js files as PHP too, and I used my PHP class to translate JavaScript strings.
|
Ask your Facebook Friends
|
I am looking for a shell script which scans a direcotry and all its subdirectories for .php and .phtml files. Within these files, I am looking for $this->translate('') statements (also $this->view->translate('')) and I want to save the content...
Started by Marc on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
While read -r line do case "$line" in *'$this->translate'* | *'$this->view->translate'* ) line="${line#*this*translate(}" line="${line%%)*}" case ${line:0:1} in \$) s=${line:0};; *) s=${line:1 '/[\"\o047]/ {s/$this->\....
|
|
I want to translate xml documents with a certain schema into another schema. I know both the old and new schemas...
I am planning to use python's xml.dom library , and translate line by line.
Any ideas on how to go about it ? Any tools or libraries in...
Started by sundeep on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This is what XSLT was designed....
For more information on XSLT, I recommend W3 Schools.
XSLT is specifically designed for the translation of XML data into some other text-based format, including XML.
You could craft an XSLT to do this work for you .
|
|
I plan on using this in a subquery but can't figure out the correct syntax to translate the following query into LINQ:
select ChapterID, min(MeetingDate) from ChapterMeeting group by ChapterID
Started by Even Mien on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Var query = myDataContext.ChapterMeeting .GroupBy(cm => cm.ChapterID) .Select(g => new { g.Key, MinMeetingDate = g.Min(cm => cm.MeetingDate) });
Well, David beat me to it, but in case you wanted to see it with the "comprehension" syntax....
|
|
Is there a way to mechanically translate goto statements to if , switch , while , break , and continue statements, etc, or with function calls, objects, anything?
Started by unknown on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit: For those who are curious but don't want to download the zip and run: System.out.println("We're at 4, going to....
This assumes that you don't want to completely restructure the method to implement the effect of goto no credit for it.
|
|
I work on the localization of Java software, and my projects have both .properties files and XML resources. We currently use comments to instruct translators to not translate certain strings, but the problem with comments is that they are not machine-...
Started by Mike Sickler on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
File which include the translations looking like: PluginPage.Error1 = text1 = PluginMessages.getString("PluginPage.Error2"); //$NON-NLS-1$
EDIT:
When a string is externalized and you want to use-not-translate....
You want to support.
|
|
I have a menu
MENU([['Users', False, URL(r=request,f='user',vars=dict(forced_language=session.lang))]])
and i wanna to translate users to other languages when i put T before it like:
MENU([['T('Users')', False, URL(r=request,f='user',vars=dict(forced_...
Started by Neveen on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You have too many quotes:
MENU([[T('Users'), False, URL(r=request,f='user',vars=dict(forced_language=session.lang))]])
Translating strings in views in web2py should be rather easy:
<h2>Hello World</h2>
Would become:
<h2>{=T('....
|
|
We have a multilingual (PHP) application and use gettext for i18n. There are a few classes in the backend/model that return messages or message formats for printf().
We use xgettext to extract the strings that we want to translate.
We apply the gettext...
Started by GrGr on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Happen if you want to store a sent.
The latter could e.g.
To store displayed messages as shown.
|