[BETA] Broken langages files #1042
Labels
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#1042
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce the issue
the language strings/constants are not converted in there values because the ini files are not correctly build.
Example: the line has 328 has a break, therefore both line are wrong, line 328 and 329.
Expected result
the languages constants are converted.
Actual result
the languages constants are none converted and the constants are shown.
System information (as much as possible)
Additional comments
Hi,
There is a setting for this in your component's "detail" page.
[BETA] broken langages filesto Broken langages filesI removed the BETA Tag from the title because this is not related to the BETA version.
Joomla recently fixed a vulnerability that broke the way language files were able to function before.
Before it was okay to have line breaks in your language files altho it is not 100% correct syntax for ini files. Now the ini files are parsed stricter thus not allowing for line breaks anymore.
Thats why it breaks. But fortunately JCB always has had this option to remove line breaks :D
thanks a lot Tom,
after I wrote my post, a saw the issue #1021...
after changing this setting, the constants are shown only in english, because in german, there are still some lines with a break:
`
320 COM_BOOKSHOP_COUPON_FREE_SHIPPING="Kostenloser Versand
321 "
544 COM_BOOKSHOP_ORDER_TRACKED_DESCRIPTION="Tracked oder Untracked<br />
545 Verfolgt oder nicht verfolgt"
`
Hmm ok let's wait and see what llewellyn says about it.
Broken langages filesto [BETA] Broken langages filesok I made new tests, it seams that it happens if there is a return at the end of a string, or of there are two lines or there is <br /> in stead of just <br>
now I have no errors anymore :-)
Fixed it in
24163c1071
please test downloadyes it work! thanks a lot :-)