nBill Community nBill Home Page
21/May/2012, 11:58:24 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Translating and installing language how?  (Read 1695 times)
one
Jr. Member
**
Offline Offline

Posts: 54


View Profile WWW
« on: 09/September/2010, 03:25:34 PM »

How I can to traslate to my language frontend and some of backend? What is procedure of installing language?
« Last Edit: 11/September/2010, 08:46:54 AM by one » Logged

netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 09/September/2010, 04:48:30 PM »

You can just create a copy of the English language files (/administrator/components/com_nbill/language/en-GB/) in a folder named according to the language you are using (eg. fr-FR, en-US, pt-BR etc.), rename each file, again to replace the language name, then replace the English text in those files with text in your own language. If you would like to donate the translation as a language pack that can be used by others, just send the files to me and I will create a language pack for it.
Logged
one
Jr. Member
**
Offline Offline

Posts: 54


View Profile WWW
« Reply #2 on: 09/September/2010, 05:33:06 PM »

I have translated in administrator/components/com_nbill/language/ru-RU/email.ru-RU.php this string:
Code:
define("NBILL_EM_NEW_INVOICE_PAR_2_USERNAME", "Вы можете видеть свои счета в онлайне у нас на сайте %s (Ваше имя пользователя: %s). If you no l...

But in Invoices I not see results...
Logged

netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #3 on: 11/September/2010, 09:55:23 AM »

That text does not appear on invoices - it is shown at the end of the accompanying email, but only if the client is associated with a contact record which is associated with a Joomla user record (ie. only if the Joomla username is known).
Logged
one
Jr. Member
**
Offline Offline

Posts: 54


View Profile WWW
« Reply #4 on: 11/September/2010, 10:24:15 AM »

Not in Invoice, sorry, in received e-mail.
Logged

netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #5 on: 11/September/2010, 03:45:58 PM »

Your translation will only appear if the website is running in the specified language. I do intend to add support for client-specific language selection and manual language selection, but I'm not sure when this will become available.
Logged
one
Jr. Member
**
Offline Offline

Posts: 54


View Profile WWW
« Reply #6 on: 11/September/2010, 04:19:50 PM »

joomla user have right, russian language but hi receive mail in english language from nBill.
Logged

one
Jr. Member
**
Offline Offline

Posts: 54


View Profile WWW
« Reply #7 on: 12/September/2010, 03:42:37 PM »

I have tranlsated partial of invoices.ru-RU.php but the same result... I not have see my translations in admin panel... My joomla account use as default russial language in front and back end.
Logged

one
Jr. Member
**
Offline Offline

Posts: 54


View Profile WWW
« Reply #8 on: 12/September/2010, 04:16:49 PM »

Ops... Problem be from my side... Sorry for distrub.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!