Help - Search - Members - Calendar
Full Version: Language module writers please read
CyberiaPC.com Community > Technical Zone > Zenith Picture Gallery > Language packs
usr.c
First, thanks to anyone who takes the time to write language packs/modules for the gallery.

This post will be updated after every release with the new entries that are added to the language file so that other languages can be kept up to date as well. When Zenith PG v1.0 is released, all language files will be included in the download.

In addition, the installer file, installer.php, now includes its own language array at the top of the file and therefore can also be translated to any language with ease. The idea is to be able to choose which language the user wants during installation, which is something that will be implemented soon.

New/updated entries in v0.4.3

left
center
right
or
ok
delete
delete_cannot

server_path_is
debug
debug_error_returned
debug_related1
debug_related2
debug_related3
debug_related4
powered_by
thumbnail_unavailable
thumbnail_oversize
select_a_category

script_timeout
cookie_prefix
description_script_timeout
description_cookie_prefix
usr.c
New/updated entries in v0.5

file_name
dimensions
index
pic_info
rating
rate_it
comments
path_direct

excellent
very_good
good
fair
poor

votes
no_votes

full_view
posted_by
posted_on
comment_new
views_show
add_txt_sub3
head_picture_details
debug_ip_is
delete_warning
edit_comment_error
times
pics_in_cat
long_date_format
short_date_format
delete_confirm
delete_comment_confirm
admincp_nav_pending_comments
submitted_by
author
comment
voting_show

description_create_thumbs
description_short_date_format
description_strip_chars

already_voted_msg
comment_submitted_msg
approval_comment_no_msg
pic_no_existing_msg
usr.c
New/updated entries in v0.6

allow_cat_download
add_check6
currently
with
description
max_display
head_login
direct_path_show
views_count
nav_browse
exif_data
download
exif_show
incoming_title
news_bar
description_news_bar
admincp_nav_batchdel
show_thumbs
intro_cat_man
action

sort_by
most_viewed
last_comments
top_rated

browser_category
browser_last_update
browser_pictures
browser_pictures
browser_title
browser_keywords


New/updated entries in the installer file

lang_install_intro
table_prefix
cookie_prefix
Jeroen19
Hi Ali,

I've got an better idea for this topic.

What you can do is just post the new language lines. For example:

New in v0.6.1:

'nav_home' => "Home",
'nav_add' => "Add",
'nav_search' => "Search",
'nav_browse' => "Browse",


Then you can just add those to the language file. Otherwise it's very difficult to add them to the language files. ( Because there are more then 320 words & lines wink.gif )
usr.c
New/updated entries in v0.7

description_long_date_format
description_short_date_format
description_mail_on_add

intro_rebuild_thumbs
intro_user-man

admincp_nav_rebuild_thumbs
admincp_nav_userman

pass_too_short_msg
user_man_success_msg
thumbs_no_msgcomment_submitted_msg
no_pics_in_cat_msg

private_msg
private
require_pic_approve
require_comment_approve
comments_counter
none
thumbs_details_align
mail_on_add
timezone_offset
reset_password
is_admin
root
last
first
goto_page
next
previous
button_rebuild
pics_detected_title
rebuild_thumbs_report
new_dimensions
incoming_title
search_for_by

New/updated entries in the installer file

intro
tos_head
tos_body
button_agree
usr.c
New/updated entries in v0.7.2

strip_chars
batchadd_showing
show_all
change
intro_batch-add
pics_per_cycle
continue
rebuilt_so_far
usr.c
New/updated entries in v0.8

picture_size
small
medium
original
default_preview_pic_size
admincp_nav_permissions
button_submit

cat_is_hidden_msg
login_error_msg
login_awaiting_msg
invalid_email_msg
username_in_use_msg
registered_0_msg
registered_1_msg
registered_2_msg
not_the_same_msg
dob_error_msg
emails_not_the_same_msg
incorrect_pass_msg
admin_success_msg

intro_cat_permissions
intro_cat_edit
intro_new_user
intro_edit-login

head_user_accounts
head_register
head_profile
head_my_controls
head_user_id
head_members
head_confirm_pass
user_account_validate_email
user_account_validate_admin
user_account_validate_none
user_account_validation_method
allow_registrations
nav_register
register_notice
email
email_repeat
password_repeat
agreement
agreement_accept
need_to_agree
account_activated
location
submissions
language
join_date
age
website
personal_quote
interests

month
day
year
dob
head_subcategories
stats_line1
stats_line3
stats_line4

no_info
comments
users
p
c
u
nav_pending

admincp_nav_pending_users
admincp_nav_recalculate_user_stats
approval_user_no_msg
processing
intro_recalc_users

my_nav_account_options
my_nav_edit-profile
my_nav_change-email
my_nav_change-pass
email_current
email_new
email_confirm
password_new

New/updated entries in the installer file

email
update_table_users
usr.c
New/updated entries in v0.8

picture_size
small
medium
original
default_preview_pic_size
admincp_nav_permissions
button_submit

cat_is_hidden_msg
login_error_msg
login_awaiting_msg
invalid_email_msg
username_in_use_msg
registered_0_msg
registered_1_msg
registered_2_msg
not_the_same_msg
dob_error_msg
emails_not_the_same_msg
incorrect_pass_msg
admin_success_msg

intro_cat_permissions
intro_cat_edit
intro_new_user
intro_edit-login

head_user_accounts
head_register
head_profile
head_my_controls
head_user_id
head_members
head_confirm_pass
user_account_validate_email
user_account_validate_admin
user_account_validate_none
user_account_validation_method
allow_registrations
nav_register
register_notice
email
email_repeat
password_repeat
agreement
agreement_accept
need_to_agree
account_activated
location
submissions
language
join_date
age
website
personal_quote
interests

month
day
year
dob
head_subcategories
stats_line1
stats_line3
stats_line4

no_info
comments
users
p
c
u
nav_pending

admincp_nav_pending_users
admincp_nav_recalculate_user_stats
approval_user_no_msg
processing
intro_recalc_users

my_nav_account_options
my_nav_edit-profile
my_nav_change-email
my_nav_change-pass
email_current
email_new
email_confirm
password_new

New/updated entries in the installer file

email
update_table_users
usr.c
New/updated entries in v0.8.4

activation_email_sent
avatar_location
forgot_pass
forgot_pass_email_sent
intro_cat_man
head_my_controls
head_resend_activation
head_resend_password
head_user_id
password_reset_msg
rss
skin_select

New/updated entries in the installer file

create_subdirectories
create_table_password_hashes
error
usr.c
New/updated entries in v0.8.5

add_txt_sub1
description_sql_pass
members_list_blocked_msg
show_members_list
usr.c
New/updated entries in v0.8.6 DEV

add_txt_sub1*
options
sort_results
alphabetically
by_last_added
asc
desc
search_strength
words_some
words_all
search_all_cats
advanced_options
less_options
visitor_comments (previously: first occurrence of comment)

default_search_box_style
collapsed
expanded
file_details_show
picture_details_show
submission_details_show
prevent_uploads_to_parents
current_ud_fields
new_field

description_file_details
description_picture_details
description_submission_details

cant_upload_to_parent_msg
cat_is_hidden_msg*

intro_define_new_fields
intro_optimize*

admincp_nav_define_new_fields

*: updated
CharlyG
QUOTE(usr.c @ Dec 20 2005, 03:17 AM)
New/updated entries in v0.8.6 DEV

add_txt_sub1*
options
sort_results
alphabetically
by_last_added
asc
desc
search_strength
words_some
words_all
search_all_cats
advanced_options
less_options
visitor_comments (previously: first occurrence of comment)

default_search_box_style
collapsed
expanded
file_details_show
picture_details_show
submission_details_show
prevent_uploads_to_parents
current_ud_fields
new_field

description_file_details
description_picture_details
description_submission_details

cant_upload_to_parent_msg
cat_is_hidden_msg*

intro_define_new_fields
intro_optimize*

admincp_nav_define_new_fields

*: updated
*


Ali, you forgot this part :

keywords_show


I have a suggestion to subject to you:
at the time of the next updates, will be able you to write the innovations completely to us to be translated.

CODE
'keywords_show'    => "Show keywords",
usr.c
Aah thanks.

Sure, I'll do that. Do you think it would be beneficial to split the language file into multiple files for different parts of the gallery?
CharlyG
QUOTE(usr.c @ Dec 23 2005, 06:17 PM)
Aah thanks.

Sure, I'll do that.  Do you think it would be beneficial to split the language file into multiple files for different parts of the gallery?
*


Perhaps. The files of translation make about 30 KB. Scripts would be surely faster with less heavy files.
usr.c
Updated entries in v0.8.8 DEV
'guest_comments' => "Allow users to add comments",
'lastadded_perpage' => "Number of pictures to show on main page",
'random_perpage' => "Number of random pictures to show",

Removed entries
'require_pic_approve' => "Require pictures by guests to be approved",
'require_comment_approve' => "Require comments by guests to be approved",

New entries in v0.8.8 DEV
'main_page_show' => "Main page style",
'main_page_show_last_added' => "show last added",
'main_page_show_album_view' => "show album view",
'head_album_view' => "Album view",
'mod_queue_registered_users' => "Moderate-queue submissions by registered users",
'mod_queue_guests' => "Moderate-queue submissions by guests",
'mark_for_download' => "Mark for download",
'marked_pics' => "Marked pictures",
'marked_pics_intro' => "Click on a picture to unmark it. Please note that closing your browser will clear your session and hence clear all marked pictures.",
'download_all' => "Download all",
'unmark' => "Unmark",
'no_marked_pics_msg' => "No pictures have been marked for download or your session has expired.",
'offline' => "(Offline)",
'locale' => "System locale",
'description_locale' => "Displays the date and time using the server's local variables. See <a href='http://us3.php.net/setlocale' target='_blank'>this</a> for more.",
CharlyG
'mod_queue_guests' => "Moderate-queue submissions by guests",

that's a new entrie wink.gif
usr.c
Aah yes, thanks. And thanks for the quick translation. There might be one or two new entries added in the next day or two, but then again there might not be original.gif
usr.c
Last two, CharlyG:

New entries in v0.8.8 DEV (continued...)
'locale' => "System locale",
'description_locale' => "Displays the date and time using the server's local variables. See <a href='http://us3.php.net/setlocale' target='_blank'>this</a> for more.",

I think I'll include the french language file in the default download package from now on.

joseramoncouso, I'd be grateful if you could perhaps take the time to translate the new entries in v0.8.8 DEV sothat I can include the Spanish file in the download package as well.

Thanks.
usr.c
New entries in v0.9 DEV

no_gd_msg
couldnt_find_mail_server_msg
marking_allowed
usr.c
New entries in v0.9.2 DEV
page_direction
description_page_direction
ltr
rtl
select_clear_all
approve_all
leave_all
delete_all
allowed_media_filetypes
description_allowed_media_filetypes
media

Modified entries
file_exists_msg
add_check_file_exists
usr.c
As requested after v0.9.2 was released, all the new entries are now grouped together at the bottom of the language file.

New entries in v0.9.4 DEV

'stats_line6'
'registration_captcha'
'comments_captcha'
'error'
'disabled'
'registered'
'guests'
'all'
'verification_code'
'bad_verification_code'
'lang_select'
'back_to_index'
'more'
'less'
'fixed_sized_thumbs'
'description_fixed_sized_thumbs'
'generated_captcha'
'who_can_see_this'
'public'
'private'
'v094paths'
'description_v094paths'
'admincp_nav_cat_rebuild'
'cat_rebuild_report'
'intro_cat_rebuild'
'button_cat_rebuild'
'intro_rebuild_thumbs'
'pending_pics_suffix'
'description_pending_pics_suffix'
'type_letters_verification'
'admincp_nav_cat_order'
'intro_cat_order'
'loading_please_wait'
'get_url'
'cat_rebuild_confirm'

Modified entries

'add_txt_sub3'
'keywords_show'
'browser_keywords'
'keywords'
'login_error_msg'
'new_user_error_msg'
'intro_new-user'
'intro_edit-login'
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.