| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 12534|Reply: 13
Collapse the left

Please help, traslation discuz!x

[Copy link]
Post time: 2011-09-24 11:43
| Show all posts |Read mode
I have a question, I have to translate the same words in different /lang.php
for example:  lang.article.php  
  1. 'footerbanner_index'                        => 'Inicio',//'首页',
Copy the Code

must be in all lang.php ?

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2011-09-24 12:34
| Show all posts
must be in all lang.php ?

Unfortunatelly, all the lang files can have it's own independet translation of the same chinese word or the same keyword

But you can try to search the same translation in all the lang files and replace it everywhere...

 Author| Post time: 2011-09-24 12:52
| Show all posts
I understand, but look for example at a lang.php.... Home must be in all lang files? House ? no entiendo

 Russia

Post time: 2011-09-24 18:01
| Show all posts
Home must be in all lang files? House ?

Why in ALL??? Do not understand the problem...

The simplest way to translate - just get each lang file and translate it line by line independently from other lang files.
 Author| Post time: 2011-09-24 19:04
| Show all posts
Look i'll explain:
for example:
I edit a file lang_xxxx.php  <-- and translate all, and translate a phrase Users Online to spanish is Usuarios en Línea
then translate other lang.yyyy.php  <-- and find the same phrase "Users Online" to spanish is Usuarios en Línea, and if I put Usuarios Conectados?.

In short:
almost all files lang.php, aparece la palabra, Home to spanish is Inicio
The word "Inicio" should be in all lang files? or no is necessary?

 Russia

Post time: 2011-09-24 19:59
| Show all posts
Ok.
I recommend the next procedure:
When edit the next lang file, do the next steps FOR EACH LINE:
1) Copy to clipboard a phrase that you want to translate.
For example, let the line is:
'footerbanner_index'                        => 'HomeInicio',//'首页',
So you have to copy 'Home'. (together with apostrophs)
2) Edit this line to:
'footerbanner_index'                        => 'Inicio',//'首页',
3) Save the file.
4) Search ALL the files that contains the 'Home'
5) Edit each file and replace all the 'Home' with 'Inicio'. Save each such file.
6) Return to editing the first file, [ go to 1) ]

It will a "Draft" translation.
After all the files are transkated you will need to justify your translation in a run-time.
Look to a site page, seeng a bad translation, find corresponing file and edit it, clean the cache, rerun the page, and so on

 Author| Post time: 2011-09-24 20:50
| Show all posts
Edited by jhoxi at 2011-9-24 20:54

hmm, thank you very much, Votintsev
is very difficult to translate, but with your help everything can be
You do not mind if I use your packge discuz!x2 by vot?
I will be more easy to translate from English to Spanish

eres un capo

 Russia

Post time: 2011-09-24 20:56
| Show all posts
Yet another tip:
It is convenient to make steps 1), 2), 3) in one window,
but steps 4), 5), 6) in a separate second window!
 Author| Post time: 2011-09-24 20:59
| Show all posts
ok no problem my bro
 Author| Post time: 2011-09-24 21:13
| Show all posts
vot pls, what it means, "This file is Automatically generate"
in lang.php
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-04-27 06:42 GMT+3 , Processed in 0.087162 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list