Skip to Content Skip to Menu

Language Define statement and Transifex project

  • GUEST
12 years 8 months ago - 12 years 8 months ago #192334 by
On Transifex CB project, I founded that several Define statements where not translated online even if the lang file online its considered 100% done.

I realize that this happens just with the file language.php and in 2 different situations:

Issue 1 - Easy to fix?
This is fine:
Code:
DEFINE('_UE_DATE_FORMAT_DESC','Choose which date format you would like your date fields to be dispayed in.');
this does not show on Transifex
Code:
DEFINE ('_UE_REG_CONFIRMATION_DESC','Set "yes" to send an email to users upon registration with a confirmation link.');
The problem is the extra space in DEFINE ('_UE
[IMG

I think it would be better to simple edit the master file, clean that space and re-upload. This requires editing the master AND the translations so nothing get lostd if translators already edit the lang file on their computer and then uploaded it (the string don't show on transifex but its not stripped from the file).
I can help you doing this for you if you want. Skype me later.


Issue 1 - this requires transifex intervention!

I don't know how to solve this but the define statements that has more then one line does not show on transifex so its not translated (same goes with or without the extra define space)
Code:
DEFINE('_UE_REG_CONCLUSION_DESC','Enter the text/html to display on the bottom of the ' .'registration page or a language dependent constant like _UE_WELCOME_DESC. ' .'This field may contain a thank you and/or special instructions. ' .'Leave blank for not displaying any message.');

See:
[IMG


So the line break \n' does not work fine in Transifex for PHP define statement files.
On Joomla INI files the line ending for multi lines works fine. So there must be something to do with the transifex code. Maybe creating a request for this in getsatisfaction.com/indifex ?


BTW: is there a section on forum for languages issues for 1.8
There is a "CB 1.3.1 Language Plugins" maybe create a new one or rename this?
Last edit: 12 years 8 months ago by .

Please Log in or Create an account to join the conversation.

  • GUEST
12 years 8 months ago #192346 by
I talked with a transifex employee and:

Issue 1 - The extra space must be cleaed on the files

Issue 2 - Support for multipart lines in PHP will be implemented in the next week

As for now they allowed the multiline strings:
"fooo
1234
bar"


but not the multipart strings:
'foo'
'1234'
' bar'

- Also regarding the JS file for the calendar. They are requesting what is the standard for the file as they also want to implement it. Can you give a link for the rules on coding lines?
Now its parsed in transifex with few errors so it should require a fine tuning on their part to be able to support it!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum