Forum


add new language file

More
1 week 2 days ago - 1 week 2 days ago #47343 by Darowiche sonji
hello
i would like to add Albanian language in the dropdown on backend panel, what should i do?
thank's
Last edit: 1 week 2 days ago by Darowiche sonji.
More
6 days 21 hours ago #47345 by Ally
Replied by Ally on topic add new language file
If you are meaning CMS language then thats a CMS issue

If however, you do mean to create a language file that holds the Albanian translations for Jomres, have you added a new language to /jomres/language/your_new_language_folder_name?

You will then start to see the folder & its file being called at the various locations in the 'backend panel' eg your property, site context etc.

Hope that helps
More
5 days 5 hours ago #47352 by Darowiche sonji
Hi Ally
what i need is Albanian translations for Jomres, so I had copied a language file and then renamed it sq-AL.php and then added the file to the jomres / language / but in the language dropdown nothing changed, so i create a folder in jomres / language / Albanian but i didn't see any changes in 'backend panel' to start translating the file.
Thank's for your help
More
5 days 5 hours ago #47353 by Ally
Replied by Ally on topic add new language file
Hi

Just for clarity, can you show some screenshots of the position you are not seeing something you need.

Thanks
More
5 days 4 hours ago #47355 by Darowiche sonji
i need to add a file in order to translate 'Label Translations' to Albanian language but i can't select this language from dropdown selector.
Attachments:
More
5 days 4 hours ago #47357 by Ally
Replied by Ally on topic add new language file
I think I understand. I believe the following could move you along ;)

1 - in backend, go to Settings - Property Type, associate a language with a property

Eg property name 1 = Albanian

2 - via ftp or cpanel file manager, go to jomres/language/createfoldercalledAlbania and put a new file in that folder that you have copied from the root jomres/language

3 - in backend go to Jomres Site configuration and on the Misc tab, select the appropriate language context.

4 - in backend go to Translations Labels & Strings and see your Albanian language context
More
5 days 4 hours ago #47360 by Darowiche sonji
i do exactly as you said but in the first step ( associate a language with a property ) i can't find this option
More
5 days 4 hours ago #47361 by Ally
Replied by Ally on topic add new language file
Do you see this ?

Attachments:
More
5 days 4 hours ago #47362 by Darowiche sonji
thank's i got it, in this way the property manger can select his favorite language from the backend panel?
More
5 days 4 hours ago #47363 by Ally
Replied by Ally on topic add new language file
Step 3 above is site wide.
Use this option to change the site's language context. This feature allows Jomres to use labels that are appropriate for your current focus, so if your focus is as a Yacht Brokerage, then changing the context will allow Jomres to present labels from a different language file. For example, if you set the context to "Yacht Brokerage" then Jomres will first find the current language, then search the /jomres/languages directory for a sub-directory called "yachtbrokerage". If the file exists for the current language then that file will be used. If not, then Jomres will search for an english language file in that same directory. If that can't be found, Jomres will use the language file for the currently selected language in the /jomres/languages directory. Note that if you create a new property type, then a copy of the current language file is made in a subdirectory under /jomres/language with a name that reflects the new property type's description.

But you use the word 'favourite' which I do not understand in context of the setting up of translations for the property.

Perhaps you are now entering into the topic of CMS provision of languages for the content, to allow front end selection of property content?
More
5 days 4 hours ago #47364 by Darowiche sonji
That’s it , the front end of the site is for Italian people and the front end of the CMS will be in Italian, but 100% of the property owners is in Albania and I need to add this option for the because not all of them understand Italian so they can change the language of Jomres backend to Albania and not only the context as you suggest me.
More
5 days 4 hours ago #47365 by Ally
Replied by Ally on topic add new language file
Sounds like you have sorted it out!

Good luck ;)
More
5 days 2 hours ago #47366 by Darowiche sonji
do not you think it's better to translate the sq-AL.php and add it here ( github.com/WoollyinWalesIT/jomres/tree/master/language ) so in the next update it will be added to the Jomres core and it will be possible to translate the whole backend of Jomres in Albanian and to contribute to the development of Jomres.
More
5 days 2 hours ago #47367 by Ally
Replied by Ally on topic add new language file
Sounds a useful suggestion, why not raise a git issue to add it to the 'To-Do' / consideration list
The following user(s) said Thank You: Darowiche sonji
More
5 days 2 hours ago #47368 by Vince Wooll
Replied by Vince Wooll on topic add new language file
If you raise a ticket and send the file as a zip I'll check it for anything that's likely to cause problems then make the relevant changes to add it to the Core. That's not a problem, I'm always happy to add new languages but it requires more than just a language file, I also need to add changes to one of the class files (I think Ally might not have been aware of that need)

Follow me on twitter
Do not send me PMs, if you need to contact me use the ticket system.
Read this before you customise Jomres files
The following user(s) said Thank You: Darowiche sonji, Ally

ABOUT US

Vince portrait smallaladar

Developed and maintained by Vince Wooll and Aladar Barthi, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was formally released as a commercial project. Since then, Jomres has become one of Mambo’s, and now Joomla’s, longest running projects. It has survived various versions of Mambo, then Joomla 1.0, 1.5, 1.6, 1.7, 2.5 and 3.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. He has since become an integral part of the project and has contributed significantly to it's development over the years.

Whilst not formally part of the Jomres project, Rodrigo Rocco and the team have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous new Valentina Template Package.

 

Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner.

www.jomres.net is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2018 Woollyinwales IT.