How to format translated language?

Popular automatic website translation tool

How to format translated language?

Postby 5126 » Sat Aug 23, 2014 6:47 pm

The editing of translated language works fine, but I want to reformat the type. Specifically: I want to add breaks, ordered list, bold letters, etc. How do I do that? I have tried html and it shows fine after saving, but when I exit editing url the translated language does not show any of the formatting I want... What do I do? Thanks.
5126
 
Posts: 23
Joined: Mon May 19, 2014 5:57 pm

Re: How to format translated language?

Postby Edvard » Sat Aug 23, 2014 7:30 pm

Hi,

You will need to make all the HTML formatting in your original text.

Thank you!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: How to format translated language?

Postby 5126 » Sat Aug 23, 2014 7:57 pm

I do want to make the translated language's text slightly different in terms of formatting, due to natural differences in translation... Can't I make it different than the original?
5126
 
Posts: 23
Joined: Mon May 19, 2014 5:57 pm

Re: How to format translated language?

Postby Edvard » Sat Aug 23, 2014 8:02 pm

Hi,

You will need to use custom programming on your side to display a different text depending on a selected language with the formatting you want. If you can provide an example what you want exactly I can provide an example code for you.

Thank you!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: How to format translated language?

Postby 5126 » Sat Aug 23, 2014 8:33 pm

Thanks Edvard... Let's make it simple for a test only... I would like the original language say: "this is a sample english version only...". The translated version I would like to be:

this is a polish language version (with the ordered list)

• Republika Czech
• Słowacja
• Bulgaria
• Litwa
• Ukraina
5126
 
Posts: 23
Joined: Mon May 19, 2014 5:57 pm

Re: How to format translated language?

Postby Edvard » Sat Aug 23, 2014 10:30 pm

Can you give me a link to an your example?

Thank you!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: How to format translated language?

Postby 5126 » Sun Aug 24, 2014 8:09 am

Here is the link to translated (polish) page: http://piasttravelinc.com/pl/other-serv ... -transfers
The second paragraph has some sentences that I want to list as an ordered list.
5126
 
Posts: 23
Joined: Mon May 19, 2014 5:57 pm

Re: How to format translated language?

Postby Edvard » Mon Aug 25, 2014 5:39 pm

OK, as I see it is inside Joomla article.

Do you have Jumi component installed for your website?
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: How to format translated language?

Postby 5126 » Tue Aug 26, 2014 1:15 am

Yes, I have Jumi installed...
5126
 
Posts: 23
Joined: Mon May 19, 2014 5:57 pm

Re: How to format translated language?

Postby Edvard » Thu Aug 28, 2014 7:36 am

OK, so to achieve what you want you need to create a new jumi application which will have the following contents.

Code: Select all
<?php
$lang = JRequest::getVar('glang');
if(empty($lang))
    echo '<span>Default text goes here</span>';
elseif($lang = 'pl')
    echo '<span class="notranslate">Translated text with HTML goes here</span>';


After this you need to edit the article and replace the text you want to format with this:

{jumi *ID} where ID is the Jumi application ID you have created.

Thank you!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4185
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux
cron