Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Text is not showed #18

Closed
Ernis opened this issue Jan 24, 2012 · 12 comments
Closed

Text is not showed #18

Ernis opened this issue Jan 24, 2012 · 12 comments

Comments

@Ernis
Copy link

Ernis commented Jan 24, 2012

Instead of text I see this:

http://i42.tinypic.com/351vi1f.jpg

@jonnsl
Copy link
Owner

jonnsl commented Jan 24, 2012

what version are you using?
Did you uninstalled the english language pack?

@Ernis
Copy link
Author

Ernis commented Jan 24, 2012

I translated everything to my language and everything is fine. Almost.

http://i44.tinypic.com/wmifd5.jpg

@Ernis
Copy link
Author

Ernis commented Jan 24, 2012

I'm using joomla 1.7 and sliComments 1.2.0

@jonnsl
Copy link
Owner

jonnsl commented Jan 24, 2012

you should have something like this in the ini file:
COM_COMMENTS_COMMENTS_COUNT="Comments (%s)"
the %s will be replaced with the number of comments (e.g. 'Comments (42)')

@Ernis
Copy link
Author

Ernis commented Jan 24, 2012

Yeah, I have:
COM_COMMENTS_COMMENTS_COUNT="Komentarai (%s)"
But it's not working. I tried to copy/paste en-GB ini file but I still couldn't see "Comments (0)" line.

@Ernis
Copy link
Author

Ernis commented Jan 24, 2012

Also, before Name, Email input fields shouldn't be "Name", "E-mail"?
Like:
Name: (input_field)
E-mail: (input_field)

@jonnsl
Copy link
Owner

jonnsl commented Jan 24, 2012

Enable "Debug System" and "Debug Language" in the global configuration and see if in the front-end it show a message like this

**Parsing errors in language files**

/[redacted]/joomla-slicomments/language/en-GB/en-GB.com_slicomments.ini : error(s) in line(s) 36, 37, 39, 40

@jonnsl
Copy link
Owner

jonnsl commented Jan 24, 2012

Also, before Name, Email input fields shouldn't be "Name", "E-mail"?
Like:
Name: (input_field)
E-mail: (input_field)

I think that this is not necessary because the fields have a placeholder, with a fallback using javascript if the browser dont support placeholder, and labels if javascript is disabled

@bartiger
Copy link

The situation seen in the first image occurs when a quotation mark is missing somewhere in the language file

@Ernis
Copy link
Author

Ernis commented Jan 24, 2012

I found this:

/home/threeds/public_html/language/lt-LT/lt-LT.com_slicomments.ini : klaida(os) eilutėje(ėse) 1

@Ernis
Copy link
Author

Ernis commented Jan 24, 2012

Ok, Everything is fine now. I had to change encoding from UTF-8 to UTF-8 without BOM.

Thanks for fast help!

After few days I'll send you Lithuanian translation.

@jonnsl
Copy link
Owner

jonnsl commented Jan 24, 2012

did you saved the file as UTF-8?
-- Edit --
never mind

@jonnsl jonnsl closed this as completed Jan 24, 2012
@jonnsl jonnsl mentioned this issue Jan 31, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants