Jump to content

Recommended Posts

Posted

After upgrading to 3.0.62 ver i got an error related translation file. It requested a change in language files.

I changed English file something like  "en_EN.UTF8" .

After that my site does not work and i get this error when i try to login in admin panel:

Error: Class 'ProcessWire\Inputfield' not found (line 56 of /.../wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module) 

 

Posted

Did you change the extension of the language file to .UTF8 instead of the original .json? If yes, change it back.

And delete the assets/cache folder and try again. 

  • Like 1
Posted
1 minute ago, Sérgio said:

Did you change the extension of the language file to .UTF8 instead of the original .json? If yes, change it back.

And delete the assets/cache folder and try again. 

No I did not change any files. Where are located languages files. i could not find ?

Posted

The error you saw just after the upgrade was regarding Set Locale and not the language files themselves.  So, not worry about them (they are located at /assets/files/*language id*/file.json 

See this thread:

 

 

  • Like 1
Posted

I think i found problem. when i change my default language set like property to "tr_TR.UTF-8" then problem occurs.

How I can i solve this problem ?

Posted
1 minute ago, Cengiz Deniz said:

I think i found problem. when i change my default language set like property to "tr_TR.UTF-8" then problem occurs.

How I can i solve this problem ?

 

Is the Turkish locale installed on the system? You need to install it if not.

  • Like 2
Posted
5 minutes ago, Cengiz Deniz said:

should i ask to server provider ?

Yes, ask them to install the locales for all languages that you'll need. :)

  • Like 2
Posted

Thanks a lot ^-^

I found a solution to find insatalled LC files with following code:

print_r(ResourceBundle::getLocales(''));

it lists all installed LC files names. Then i found "tr_TR" and additionaly try to add ".utf" and it works

  • Like 2
Posted
7 hours ago, Cengiz Deniz said:

Thanks a lot ^-^

I found a solution to find insatalled LC files with following code:


print_r(ResourceBundle::getLocales(''));

it lists all installed LC files names. Then i found "tr_TR" and additionaly try to add ".utf" and it works

 

Great!! ^-^

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...