conversion of English input to Urdu & Turkish in code igniter - codeigniter

In my code igniter application I want to convert the English input to Urdu & Turkish. Can some one please tell how can I do that?

Have a look at to the sample code on using Translation API with PHP [1] and also you can look at this official documentation for more details [2].
I haven’t tried this but this example uses Codeigniter and Translation API that might be useful to you [3].

Related

Need solution to make multi-language website using codeigniter, that contents from database should also convert into selected language

I want to implement the option for multi-language on my website. I am using codeigniter framework, and I already implement the codeigniter language library that convert all labels to desire language. But I want my website should also be able to convert the contents from database into desired language.
How can i do that?
Thanks.
Have a look on this tutorial.
Creating multilingual website using codeigniter

Go Lang mysql html comments

I would like to create a mysql form for comments and display them as well in html.
I am able to use the MySQL package to read out data in the terminal but am struggling to output on the html/template engine any pointers welcome.
If I understand your question correctly, you are looking for a way to create dynamic webpages that have user input. You are going to need to learn some HTML/CSS to make it look nice (Even if you do use templates you can find online).
In terms of generating the dynamic content, Golang provides a builtin templating library [http://golang.org/pkg/text/template/]. Or if you like, you can look into other templating languages like Mustache or Handlebars, which have libraries in Go if you want to go that route.
For collecting user input, you're going to want to create a form that POSTs the data to a particular endpoint of your server. In making your server, I would look into both Golang's net/http package, which is fully featured, or you could look into Gorilla, another Go library that has a lot of nice features for making more powerful webapps and such.
A couple resources for you to check out:
https://golang.org/doc/articles/wiki/
http://www.gorillatoolkit.org/
Hope this helps!
Thanks I have understanding to do this with php and html I'm just trying to translate over too go Lang for the submitting and rendering out from mysql. I will look at creating a simple go form using the template engine.

PDF Creation from a word template

I have this requirement:
Generate a Word document from template using poi.jar. The generated doc will have dynamic values as well as the formatting needed.
Convert the generated doc as it is to PDF. I don't want to apply any formatting again while generating the PDF.
Is there any open source Java API available to do this?
OpenOffice.org offers an API that can do the job for you.
Please note that this question has been answered many times on StackOverflow (and over the web), see this answer for example.

xpath in =importXML() for extracting meta descriptions

I'm trying to use Xpath to pull in the meta descriptions from web pages, using Google Sheets.
I have this working to pull in the titles: =importXml(www.example.com; "//title")
Here are two sources of my learning:
http://seogadget.co.uk/playing-around-with-importxml-in-google-spreadsheets/
http://docs.google.com/support/bin/answer.py?hl=en&answer=75507
I have read many other posts on this site, and this seems to be the similar idea of what I want:
"/html/head/meta[#name='description']/#content"
"/*/head/meta[#name='description']/#content"
"//head/meta[#name=\"description\"]/#content"
None of these work in Google Sheets, which specifies to write it in Xpath. The only difference, is that in Google Sheets you are to use ' in place of " (hence why description is like that). I've honestly tried it about 219 different ways....no luck.
Any ideas? Thanks in advance!
//meta[#name='description']/#content
So your full URL call in google sheet would be
=importxml(A1,"//meta[#name='description']/#content")
I've built some awesome SEO tools using importXML - this is just the start of it mate! :)

Codeigniter multilanguage and adding the language to the url for seo

I read this
the best way to make codeigniter website multi-language. calling from lang arrays depends on lang session?
for language inclusion...
i wonder how the url will appear for multi languages...
How to show the language in url so that it will also be indexed in search engines...
for example sitenameDOTcom/es or sitenameDOTcom/whoweare/es or something like this and how to sync with the controllers and the urls...
ah, i found an article in the codeigniter forums.
here it is ...
https://github.com/EllisLab/CodeIgniter/wiki/URI-Language-Identifier
previously the url was like the following and now it doesn't work.
http://codeigniter.com/wiki/URI_Language_Identifier/
and here is a live example i am using
http://vikku.info/wordreminder/en

Resources