Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with language #1162

Closed
asyou99 opened this issue Jan 16, 2017 · 24 comments
Closed

Bug with language #1162

asyou99 opened this issue Jan 16, 2017 · 24 comments
Labels

Comments

@asyou99
Copy link
Contributor

asyou99 commented Jan 16, 2017

  1. Please add to site in part install information from Problem with installing luya #1142 because I have this problem to.
  2. When I "composer exec luya setup" and then select other language example Russian and short code ru in ma brauser I have 404 problem. Whem I change in Db language to English all is ok. Maybe add in the menu list of the languages which can be selected and codes that have been mozhneo select the language from the very beginning of the installation.
  3. I do not see Ukrainian language after install.
@nadar
Copy link
Member

nadar commented Jan 16, 2017

  1. Yes i already changed the guide, so people have to use php.exe / php instead of composer exec. => d4d8040#diff-a766d7b80897afd829051763d325d9b1 But we can not push it to the site (luya.io) yet, as also other things have changed during the 1.0.0 development. 😞

  2. Do you mean a list of languages during the setup process? Or do you mean this problem? https://luya.io/guide/install#problems

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

yes for example i wrire Russian and ru then I have 404

@nadar
Copy link
Member

nadar commented Jan 16, 2017

This is because the composition language (https://github.com/luyadev/luya-kickstarter/blob/master/configs/env-local.php#L107) has to match your default language (the language u enter during the setup process).

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

Perhaps then it is better to remove the parameter memory when installing because if someone enters something that does not receive an error and nesmozhet understand. "Never untrusted users" - the first rule programmista.I I just confirmed it :)

@nadar
Copy link
Member

nadar commented Jan 16, 2017

Maybe i can change the value of the config afterwards, or i going to build a easy wizzard which builds the config for you, checks database, and run the migrate, import and setup commands.

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

And when I add a new language in the system there is no delete function only add.

@nadar
Copy link
Member

nadar commented Jan 16, 2017

its done and will be part of 1.0.0 release: #1010

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

If I create a new page without selecting a template, and then make it home I can`t add to it any content and attempt to access it causes an error "Could not find the requested cms layout id '0' for nav item page id '4'. Make sure your page does not have an old inactive / deleted cms layout selected. " I understand that I am still learning to work with the "yula" but may have to do so foolproof. That is, it becomes so easy to say junk

@nadar
Copy link
Member

nadar commented Jan 16, 2017

and then make it home I can`t add to it any content and attempt to access it causes an error

I am not able to reproduce this problem?

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

image
With these parameters, the template is created, and if you click in the template field to edit it I nesmog nothing to do with it (it nedobavlyayutsya gtkakie elements that would make the new template)
The template selection field, I did not choose it as a bud creating a new template
image

@nadar
Copy link
Member

nadar commented Jan 16, 2017

True! It should return a warning that template can not be empty. thanks!

@nadar nadar added the bug label Jan 16, 2017
@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

Also I did not find where to change the system messages language in admin panel (language selection panel is). If the "env-local" change the language only then change the message. Also, even if yayzk Change messages to Russian here is why it is still not visible.
image

@nadar
Copy link
Member

nadar commented Jan 16, 2017

True! The user language overrides the yii language in the admin interface on order to display correct model validations.

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

ru. I have edited this post because after installation I did not find how to change the language of the system sooscheny differently. Also, if the parent page is created then move it where the subsidiary can only dragging (in the Edit Settings page does not select for her parents)

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

I am a bit do not understand your last message. (How to change the user language of system messages without touching the code)

@nadar
Copy link
Member

nadar commented Jan 16, 2017

selection_025

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

Yes, I'm doing but why that system messages I do not change

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

image

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

@nadar
Copy link
Member

nadar commented Jan 16, 2017

Not sure what's going wrong there - I need more informations but maybe you should drop all tables again and run migrate, import and setup, on setup you enter "Russian" and "ru" like in your composition config. In order to have the admin interface in russia you can configure "luyaLanguage" to ru. Maybe you should also install the dev-master as we have fixed a lot of things until rc2, or you wait until 1.0.0 will be release (end of the month).

Thanks for the two bug reports with the empty template and the luyaLanguage problem in the "debug bar".

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

Ok language for me not critikal bug. I wait release and test my error.

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

image
Miracles :) Russian Language, the code is Russian and some errors are displayed in German :) (I guess that is where it is not reset when I change the language via admin panel)

@asyou99
Copy link
Contributor Author

asyou99 commented Jan 16, 2017

I'll wait for the release.
A description on the website you update with the release(sections relating to different modules and components)?
Also, if the parent page is created then move it where the subsidiary can only dragging (in the Edit Settings page does not select for her parents)

@nadar
Copy link
Member

nadar commented Jan 16, 2017

@asyou99 the language problem is already solved in the current dev-master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants